Can't open database
See original GitHub issue- version: 0.8.0
- os: Debian 10
When I try to open sqlite file I get
Unable to find a valid SQLite command. Fallback binary is not valid.
and
[2:37:39 AM][vscode-sqlite][ERROR] Unable to find a valid SQLite command. Fallback binary is not valid.
I saw a very similar closed issue that occurred in CentOS. It’s said that it is fixed by some ad-hoc solution specific for CentOS. I suspect the same reason and it can be fixed in the same way but this time for Debian 10?
The issue is referenced below.
Should be fixed in version 0.7.1 There were a couple of problems: It failed to recognize if the SQLite binaries were not supported (it’s needed at least version 3.9), and on CentOS the binaries provided throw an error when started, but work fine after that. I fixed the first problem and added a workaround for the second. If there are other errors feel free to reopen this issue.
_Originally posted by @AlexCovizzi in https://github.com/AlexCovizzi/vscode-sqlite/issues/71#issuecomment-504095860_
Issue Analytics
- State:
- Created 4 years ago
- Comments:27 (4 by maintainers)
It exited right away. After I read the error message I tried installing
sqlite3
usingapt
and it worked. I’m happy with the solution so I would close the issue.@ingun37 @vaMuchenje @guilhermebellotti @AlexCovizzi @W3ND31 @SrAmaral @matias2018 @ricardovasconcelos @joao-gabriel-gois
I decided by doing:
sudo apt-get install sqlite3 libsqlite3-dev
Then, in settings.json sets the path to the sqlite3 binary:
"sqlite.sqlite3": "/usr/bin/sqlite3"