mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.43k stars 291 forks source link

work on only one database #1233

Open neckva opened 8 months ago

neckva commented 8 months ago

Describe the bug I don't know if it's really a bug or the expected behaviour. When I fill in the "database" field with the database I want to work on, I still have access to all the databases in connections. So I don't understand what's the point of the "database" field if you can't choose? Above all, it's annoying because when I make a query, often a table with the same name exists in both databases (test and production), which means I have to specify it each time.

Expected behavior I only want access to my database.

Desktop (please complete the following information):

gjsjohnmurray commented 8 months ago

Is your case the same as #1065?

You wrote "all the databases in connections". Have you defined several MySQL connections, each to a different database? Are you being offered tables from all of them when you are writing a query? If so, does this only happen when they are in the "connected" state?