cweijan / vscode-database-client

Database Client For Visual Studio Code
https://database-client.com
MIT License
2.48k stars 282 forks source link

[BUG] sqlite is not installed and install sqlite button not working #952

Closed felipeapp closed 1 year ago

felipeapp commented 1 year ago

When SQLite is selected, the extension shows the message "sqlite is not installed" and the button "Install Sqlite" does not work. The message disappears if I manually download sqlite3 and add it to the PATH environment variable.

cweijan commented 1 year ago

When you click to install sqlite, the extension will start downloading sqlite3 from the link below. Can you try to see if you can access it normally? https://dbclient-release.oss-cn-hongkong.aliyuncs.com/dbclient/sqlite3.exe

felipeapp commented 1 year ago

When you click to install sqlite, the extension will start downloading sqlite3 from the link below. Can you try to see if you can access it normally? https://dbclient-release.oss-cn-hongkong.aliyuncs.com/dbclient/sqlite3.exe

Yes, I can download it from the link. Where does the extension save the sqlite file? As a workaround, will it work if I copy the file manually?

cweijan commented 1 year ago

After you click the download button, it will automatically disappear after the download is completed. Maybe the download was not successful due to network problems.

If you add sqlite3 to the environment variable, the extension will use the sqlite3 you configured. Will it work normally?

felipeapp commented 1 year ago

After you click the download button, it will automatically disappear after the download is completed. Maybe the download was not successful due to network problems.

If you add sqlite3 to the environment variable, the extension will use the sqlite3 you configured. Will it work normally?

Yes, setting the environment variable works.

TechQuery commented 3 months ago

Maybe the download was not successful due to network problems.

@cweijan This Axios-based extension failed to download SQLite (my GFW proxy was running), so I installed it manually and succeed. This may be help for @felipeapp:

winget install SQLite.SQLite