Database corruption / Database disk image is malformed




Can't speak for Lion, but the command "sqlite3" exists on Snow Leopard and everything works the same as the document. The only difference is that I had to perform the "PRAGMA" command within SQL rather than as a 1-liner command.

(Another reason why I wish that old Plex DBEditor program was around; Plex ofers no database export, clear, and import options to recover a corrupted DB. Power outages DO happen; Hard drives do crash, files and directories can get corrupted ...