Skip to content

error returned from database: (code: 14) unable to open database file and warning: no queries found with SQLite #2680

Closed Answered by JSFTI
JSFTI asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out the problem is in the URL. query!'s base starts from the root of the workspace. So, to fix this, I have to change the URL from sqlite://database/main.sqlite to "sqlite://src-tauri/database/main.sqlite"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JSFTI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant