Ruby: SQLite3::BusyException: database is locked:

后端 未结 18 1012
感动是毒
感动是毒 2020-11-28 23:29

Ran into this error message whilst developing tonight: SQLite3::BusyException: database is locked:

I have two models:

  • Podcasts have many
18条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 00:32

    This happens when you make any changes manually directly into the SQlite DB Browser (like delete a row or change the value of any column) and forget to save those changes. Any changes made need to be saved (ctrl + s). If not saved, SQLite locks the Database until u save those changes.

    I did the same and my issue got resolved!

提交回复
热议问题