Sqlite3, OperationalError: unable to open database file

前端 未结 19 1584
再見小時候
再見小時候 2020-11-27 18:58

Question: Why can\'t I open the database?


Info: I\'m working on a project using sqlite3 database. I wrote a test program that runs and passes it t

19条回答
  •  一生所求
    2020-11-27 19:28

    in my case, i tried creating the sqlite db in /tmp folder and from all the slashes i missed a single slash

    Instead of sqlite:///tmp/mydb.sqlite -> sqlite:////tmp/mydb.sqlite ...

提交回复
热议问题