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 -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -