Bug #23744 MySql Query Browser looses selected Schema or DB
Submitted: 28 Oct 2006 16:00 Modified: 20 Nov 2006 15:26
Reporter: Eduardo Nieto Márquez Email Updates:
Status: Closed Impact on me:
Category:MySQL Query Browser Severity:S5 (Performance)
Version:1.2.4 beta OS:Windows (Windows XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: default schema, execute script, lose schema, lose selected database

[28 Oct 2006 16:00] Eduardo Nieto Márquez
Whenever you execute a script in your Script Tab, the selected schema or database looses its focus.

So when you return to a Resulset Tab and try to excute a query, the system never finds tables or procedures, cause no schema is selected.

How to repeat:
- Select a Schema (or DB).
- Execute a query in the Resulset Tab.
- Find a Procedure or Function, right click on it and select Edit Procedure(Function), this will open a new Script Tab with the selected procedure in it.
- Execute the procedure. (Notice the Schemata column in the right refreshes and no schema is selected)
- Return to the Resulset Tab and try executing something. Error "No database selected" will apear.

Suggested fix:
Keep the selected Db in memory or try doing finding what changed in this version that makes this bug appear (this didn´t happend in older versions)
[28 Oct 2006 16:10] Eduardo Nieto Márquez
this also happens when you Open a Script (File, Open Script...)
[30 Oct 2006 12:23] MySQL Verification Team
Thank you for the bug report.
[20 Nov 2006 15:26] Mike Lischke
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at