Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work on only one database #1233

Open
1 of 5 tasks
neckva opened this issue Oct 30, 2023 · 1 comment
Open
1 of 5 tasks

work on only one database #1233

neckva opened this issue Oct 30, 2023 · 1 comment
Labels
mysql MySQL / MariaDB driver triage

Comments

@neckva
Copy link

neckva commented Oct 30, 2023

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):

  • SQLTools Version 0.28.0
  • VS Code Version: 1.82.2 on code server 4.17.0
  • OS: ubuntu 23.04
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version: mariadb 10.3.32
@neckva neckva added the triage label Oct 30, 2023
@gjsjohnmurray gjsjohnmurray added the mysql MySQL / MariaDB driver label Oct 30, 2023
@gjsjohnmurray
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mysql MySQL / MariaDB driver triage
Projects
None yet
Development

No branches or pull requests

2 participants