Is there a command line utility for validating SQLite databases in Linux? -


i looking command line utility validate sqlite databases. ran situation in inherited code application fails startup because attempt access database produced following error:

database disk image malformed 

so need instrument validation code in application. additionally, though, need tool can run linux prompt tell me if database corrupt or not.

thanks

you can this:

sqlite3 database.db "pragma integrity_check" 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -