PyCharm fails to connect to SQLite: SQLITE_BUSY, (database is locked)

Viewed 773

I'm trying to use PyCharm's database tools to connect to a SQLite db.

When I test the connection, it is successful, but when I try to sync to the db, I get:

[5] org.sqlite.SQLiteException: [SQLITE_BUSY]  The database file is locked (database is locked).

This happens when the application isn't running, so nothing is currently connected to the db.

EDIT: I've learned that the problem only exists when the db file is on the Windows Subsystem for Linux

1 Answers
Related