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

Schema management query error "sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1049, "Unknown database 'buzz_base_report'")" #7

Open
VerRan opened this issue Mar 25, 2024 · 2 comments

Comments

@VerRan
Copy link

VerRan commented Mar 25, 2024

When i use schema magement, there is a error for no database "buzz_base_report", but when i created the connection the database name is "xa_bi". I used "buzz_base_report" when I first created the connection. It seems that a cache was used here, because the cache was not updated and the wrong database name was obtained, so please help analyze it.

@VerRan
Copy link
Author

VerRan commented Mar 25, 2024

After I used profile management to re-fetch table definition, the problem was solved, can I directly fetch the table definition when creating the profile.

@supinyu
Copy link
Contributor

supinyu commented Mar 28, 2024

Hello, thank you for your feedback. We will try to modify this logic.

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

No branches or pull requests

2 participants