vscode-sqltools
vscode-sqltools copied to clipboard
Test Connection Success with wrong credentials
Describe the bug When a new connection is to be added, "Test Connection" shows success with no data.
To Reproduce Steps to reproduce the behavior:
- Go to Connections
- Click on Add New Connection
- Scroll down to Test Connection button and press it
- See green "Succesfully Connected!" message.
Expected behavior To get an error stating username and password are mandatory fields.
Screenshots
Desktop (please complete the following information):
- SQLTools Version v0.23.0
- VSCode Version: 1.59.1
- OS: [ Mac]
- Driver:
- [ ] PostgreSQL/Redshift
- [X] MySQL/MariaDB
- [ ] MSSQL/Azure
- [ ] SQLite
- [ ] Other? Which...
- Database version: MySQL v8.0
Additional context
- Root has no password.
- If ask password is selected under "use password", a password prompt shows up, and entering any garbage, login still succeeds.
- If a user is specified, with any garbage password, login still succeeds.