Failed to open database
See original GitHub issueIssue Description
I got this error - that was fixed here - in the latest version.
I resolved that downgrading the version to 0.7.1, but the problem returned.
Error:
Failed to open database: Database failed to open: SQLite process failed to start: The argument 'file' cannot be empty. Received ''
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (1 by maintainers)
Top Results From Across the Web
Getting "Failed to open database" error when copying a sqlite ...
I had to modify checkDataBase() to private boolean checkDataBase() { File databasePath = mContext.getDatabasePath(DB_NAME); return ...
Read more >How to Fix SQLite Unable to Open Database File Issue?
If SQLite is unable to open the database file, this means that the SQLite database you are trying to open is corrupted.
Read more >Unable to open an Access database on a server - Office
When you try to open a database that is located on a server, you may receive the following error message: Couldn't use <filename>;...
Read more >Nightly task emails indicate it was unable to open the database
The error that occurs is structured by naming the daily or nightly task name, followed by the ": Failed to Open Database.
Read more >Failure to open database - Audacity Forum
Today I tried to open some similar flac files and got the "Failure to open database" error message. I tried opening the flac...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got the same error here, and when browsing to find a fix i found this issue https://github.com/AlexCovizzi/vscode-sqlite/issues/83, so the problem is that some linux (ubuntu 20.04 here) cant run sqlite3 explorer without sqlite3 packages installed, so you need to install it, run:
and i think it will fix it (worked for me)
Edit: check https://github.com/AlexCovizzi/vscode-sqlite/issues/119#issuecomment-639948097 for fix without installing any package
Guys, u don’t need this. If u enabled “sqlite.logLevel”:“DEBUG” on VsCode JSON Settings, look for the file like “/home/wendel/.vscode/extensions/alexcvzz.vscode-sqlite-0.8.2/bin/sqlite-v3.26.0-linux-x64”
Go to terminal and type “chmod +x /home/wendel/.vscode/extensions/alexcvzz.vscode-sqlite-0.8.2/bin/sqlite-v3.26.0-linux-x64”
And the issue is resolved without installing anything else.
I think that this will happen only on unix SO’s.