Open
Description
Describe the bug
Exploring a different database in the connection explorer with the same schema shows incorrect data. I am guessing this has something to do with the database configured in the subject connection's settings.
To Reproduce
Steps to reproduce the behavior:
- Say you have a project 'app' configured to run in different environments, dev and test.
- Consequently, you have app_dev and app_test databases.
- You have a connection for app_dev in SQLTools named
localhost_con
. - Now, if both the databases exist on the same host and are accessible to the same user/password combination, app_test will show up when you connect using
localhost_con
. - Exploring app_test's content will actually show app_dev's content.
Expected behavior
Exploring app_test's content will actually show app_dev's content, which is wrong.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- SQLTools Version: 0.22.5
- VSCode Version:
Version: 1.44.0
Commit: 2aae1f26c72891c399f860409176fe435a154b13
Date: 2020-04-08T08:23:56.137Z (1 mo ago)
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0
- Driver Used/Version: https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql
- OS: Mac