On 18 Aug 2016, at 6:24pm, Matias Badin <mbadi...@gmail.com> wrote:

> Thanks  you very much! The information was very usefull.
> I can recover the database info now, overwritting the header array.

Once you have the header array 'correct' and SQLite no longer refuses to open 
the database, use the SQLite command-line tool to run

PRAGMA integrity_check

and note the results.  It may be that the header isn't the only part of the 
database which was corrupted.

> Have you any information about how the header is corrupted?

Usually a bug in the program which writes it, overwriting files or memory which 
are meant to be private to SQLite.  Sometimes it is instead a sign of a 
hardware fault, which will gradually get worse until it is corrupting more 
files on the storage medium.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to