Skip to content

Using incorrect database #665

Open
Open
@renkun-ken

Description

@renkun-ken

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Create multiple databases test1 and test2 in a MariaDB and create test1.table1, test2.table2 tables.
  2. Connect to the MariaDB with Database=test1
  3. View SQLTools tree view and expand test2, and describe table2
  4. See error: cannot find table test1.table2.

Expected behavior
A clear and concise description of what you expected to happen.

It should visit test2.table2 rather than the database test1 the connection is initially setup to connect to.

Desktop (please complete the following information):

  • SQLTools Version: 0.22.10
  • VSCode Version: 1.47.2
  • OS: Ubuntu 20.04
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version: MariaDB 10.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmysqlMySQL / MariaDB driver

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions