SQLite Forum

My Database is being deleted after each restart of my code. How can I fix it?
Login
Does your bot neatly close the database connection when it stops, or is it just crashing ?

When is the database file being deleted, if it is being deleted at all ?  In other words, does the database file exist in storage

1) while your bot is running ?
2) after your bot has stopped ?

If you use the same bot to open a text file in the same folder,  and append text to it each time it starts up, do you actually get one additional piece of text every time it starts up ?