Wednesday, April 6, 2011

How to unlock an sqlite3 db?

OMG!

What an apparent problem... my django based scripts have locked my sqlite db...

Does anyone know how to fix?

From stackoverflow
  • Your database is locked because you have a transaction running somewhere.

    Stop all your Django apps. If necessary, reboot.

    It's also remotely possible that you crashed a SQLite client in the middle of a transaction and the file lock was left in place.

0 comments:

Post a Comment