Knowledge Base : Glossary : Suggest a Question
Search The Knowledge Base
Browse The Knowledge Base
Knowledge Base : TruePOS : Offline

how to recover the corrupted offline db (sqlite DB)

while opening sqlite db in SQLite Manager, if you received below error

SQLiteManager: Error in opening file raymedi_hq#database[4] - either the file is encrypted or corrupt
Exception Message: Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageService.openUnsharedDatabase

please follow bellow procedure:

1) open the database file with vim
2) change "SQLite poison 3" to "SQLite format 3" from the first line of the file
3) save the file

Related Articles
There are no related articles

Viewer Comments Add Comment
No viewers have posted comments

Powered By AutoKB