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

Differentiating between database name & table_schema #606

Open
aaqilniz opened this issue Aug 24, 2024 · 1 comment
Open

Differentiating between database name & table_schema #606

aaqilniz opened this issue Aug 24, 2024 · 1 comment
Labels

Comments

@aaqilniz
Copy link
Contributor

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.

@aaqilniz aaqilniz added the bug label Aug 24, 2024
@aaqilniz
Copy link
Contributor Author

Hi, @dhmlau. Can you have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant