Any idea why "SQL error: database is locked" why this comesup? using sqlite3 database here.
Any idea why "SQL error: database is locked" why this comesup?
Collapse
X
-
-
The thing I have faced before is
1. opening a connection by locking table or database but didnt close
2. Then Try to reopen from somewhere else but table or database is still lock.
what to do: check carefully what connection you have opened with lock criteria and make sure to close them. or open those connection without locking.
And of course it would be better if you submit your code here.
Regards,
JohnyComment
Comment