vscode-sqltools icon indicating copy to clipboard operation
vscode-sqltools copied to clipboard

Do not require database to make a connection

Open Da-Viper opened this issue 3 years ago • 2 comments

*Is your feature request related to a problem? Please describe. I'm always frustrated when i try to make a connection and cannot remmeber the any of the database name on the server

Describe the solution you'd like Make the database not a required field, if you test connection without the database it still works.

Describe alternatives you've considered i have tried mssql, apexsql, vscode-database extension all do not require a database name to save the connection.

i love this extension it is just that stuff that is bugging me as i tend to forget the database name as they tend to be long

thanks

Da-Viper avatar Nov 14 '20 22:11 Da-Viper

What I find bizarre is that, at least with the MySQL driver, a database name is required to create the connection, but that connection isn't actually restricted to that database. When I expand the new connection in the CONNECTIONS view, I see every database listed underneath it. This makes requiring the database name not only unnecessary but misleading.

dkbarn avatar Jan 31 '21 18:01 dkbarn

Duplicate of #727

gjsjohnmurray avatar Jul 23 '22 00:07 gjsjohnmurray

Workaround is suggested at https://github.com/mtxr/vscode-sqltools/issues/727#issuecomment-1373906407

gjsjohnmurray avatar Jan 06 '23 17:01 gjsjohnmurray