If you do: > sqlite3 YOURDB .schema \| sqlite3 Do you get errors coming from the second "sqlite3" command?