Skip to content

Differentiating between database name & table_schema #606

@aaqilniz

Description

@aaqilniz

Hi.

While discovering models, if no schema is provided (and the all flag is false), the connector fetches the tables/models that belong to the logged-in user at MySQL DB. Link to the line.

If we look at MySQL docs, the database name is supposed to be synonymous with table_schema. Hence, fetching all tables doesn't make sense if no schema is provided. It should take the DB name as a schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions