On 25 Jul 2016, at 1:51pm, Matias Badin <[email protected]> wrote: > I have a problem with a sqlite database that was working very good but > suddenly started to give the message "File is encrypted or is not a > database". Then I can“t access it and i have to replace it with a new one.
How often does the corruption happen ? How are you issuing your SQL commands ? Have you written your own C program which uses the C API ? Which version of SQLite are you using ? Are you sure that nothing you use is SQLite version 2 or thinks that the database is a version 2 database ? If you try to open the database using the sqlite shell tool (downloadable from the web site under 'precompiled binaries') does it open it or issue the same error on the first 'SELECT' command ? Simon. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

