6

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

Eric Wilson
  • 57,719
  • 77
  • 200
  • 270

1 Answers1

4

It's not supported yet, follow the issue "[Datagrip] Support for WSL paths (SQLite)"

Vasilii Chernov
  • 1,169
  • 8
  • 17