Bug #61692 "Use" statement throws "no database selected" warning
Submitted: 29 Jun 2011 16:29 Modified: 29 Jul 2011 18:29
Reporter: Daniel Katz Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.34 CE OS:Windows (WIn 7 64)
Assigned to: CPU Architecture:Any
Tags: database selected, No database selected, use statement, warning

[29 Jun 2011 16:29] Daniel Katz
Description:
After connecting to the DB, typing and executing "use my_sample_db" will throw a warning "No Database selected.".

Use statements are in the set of commands (like 'show processlist') that don't require a database being selected.

How to repeat:
Have a fresh connection to DB.

Select a DB with "use (anydb)"
[29 Jun 2011 17:34] Valeriy Kravchuk
What exact version of server, x.y.z, are you working with?
[29 Jun 2011 18:01] Daniel Katz
5.0.85-community
[29 Jun 2011 18:11] Alfredo Kojima
Does that happen with any db? Does your db name have any unusual characters in it?
For the record, the operation works fine here.
[29 Jul 2011 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".