-
Notifications
You must be signed in to change notification settings - Fork 392
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
Database Not Selected Error Despite Database Being Chosen #2871
Comments
Hi @matthieukhl |
Hi Thanks for your quick reply. I have updated CloudBeaver to v24.1.5 and will monitor this issue. I will update this issue in about a week or so to inform you if the described behaviour happened again or not. |
Hi, I've reproduced the bug today on Cloudbeaver Community Edition v24.1.5. Here are the logs when I execute a "USE database" query:
Here are the logs when I execute a SELECT query:
Note: if I specify the database in the SELECT query it does run the query correctly |
Hello. |
Hi @LonwoLonwo, Thanks for taking some time to check in on that issue. I have been able to effectively execute a Either way, in this particular issue, even selecting the database, or container as it says, in the dropdown menu, it still produces the error. |
Maybe this case is connected with dbeaver/dbeaver#35040 Waiting for the fix from DBeaver-side. Will see in the 24.2.0 release. |
Please check the latest release 24.2.0. |
Hi @LonwoLonwo will upgrade to 24.2.0 next week and update this thread. Thanks for your time and for your work, Cloudbeaver is greatly appreciated by our teams :) |
Hi @matthieukhl |
Hi @EvgeniaBzzz sorry for the late response. I've asked around the teams, they are still reporting the issue but I haven't had time to investigate the logs. Will share some news as soon as possible. |
Hi @EvgeniaBzzz The issue just happened again. Below you'll find logs I've extracted while the issue was happening:
|
I see 😞 |
Hi @matthieukhl, I am trying to figure out your problem, but I have not been able to reproduce it. I would like to clarify the following things:
|
Hi @DenisSinelnikov thanks for taking some time to look into this issue.
I hope this satisfies your questions :) |
Context
Our team is encountering an issue where Cloudbeaver does not recognize that a database has been selected, leading to an error that suggests no database is chosen.
The query fails as if no database has been selected, even though the user explicitly chooses a database beforehand (see screenshot below).
This issue occurs intermittently when using the MySQL connector with TiDB.
Restarting the Docker container hosting Cloudbeaver temporarily resolves the issue, but it eventually reoccurs. The database is correctly selected within the UI, yet queries fail with an error stating that no database has been selected.
Steps to reproduce
Logs
Log Snippet When Bug Occurs (After Running a SELECT Query) BEFORE Docker Restart
Log Snippet When Running the USE Query BEFORE Docker Restart
Log Snippet AFTER Restarting Docker
Log Snippet After Running the Same SELECT Query AFTER Docker Restart
Additional Information
We are using the Community Edition of Cloudbeaver with the MySQL connector to connect to our TiDB Cluster.
We are currently running Cloudbeaver 24.1.3 and will update to Cloudbeaver 24.1.5.
Most of our team is using Cloudbeaver on Google Chrome.
Could you please investigate this issue? Thank you.
The text was updated successfully, but these errors were encountered: