# chmod 777 db.sqlite
# sqlite3 db.sqlite
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .databases
Error: database is locked
sqlite>
I actually found that stack overflow q/a earlier. I’ve tried the move to a different file name and copy back to the old one method. Didn’t work.
I saw the link to this doc: File Locking And Concurrency In SQLite Version 3 and it makes me wonder if there’s a way to find out what kind of lock the database is under…