开发者

Database is locked

hey my problem is when i try to update my database it goes throu开发者_开发知识库gh the update query fine but then it crashes giving me a error in the console saying "Error while updating 'Database is locked'". Does any one have a clue why is it so?


Usually because your database is in another transaction. For example, if you have another thread going or another connection and it is in a transaction.


closing the rails console session resolved this issue for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜