sqlite> DELETE FROM mails WHERE (`id` = 71); SQL error: database is locked
How do I unlock the database so this will work?
If a process has a lock on an SQLite DB and crashes, the DB stays locked permanently. That's the problem. It's not that some other process has a lock.