Bug #4423 Error when opening query browser
Submitted: 6 Jul 2004 20:33 Modified: 16 Jul 2004 12:48
Reporter: Bob Dankert Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.6a OS:Microsoft Windows (XP SP2)
Assigned to: Michael G. Zinner CPU Architecture:Any

[6 Jul 2004 20:33] Bob Dankert
Description:
I have a connection to a database which I named 'Eng Ind' (less the ticks).  When I try to edit the data of a table in this connection, it tries to open the Query Browser but gets an error that the connection 'Eng' cannot be found (please see the screen shot).

How to repeat:
Create a connection with a space in the name, and try to modify the data through the Query Browser

Suggested fix:
Send the whole connection name, do not break at just the space
[6 Jul 2004 20:37] Bob Dankert
Error

Attachment: error.JPG (image/pjpeg, text), 8.22 KiB.

[16 Jul 2004 12:48] Michael G. Zinner
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 bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Thanks for reporting. The issue has been fixed by adding "" around the paramter.

Further, instead of using the command line parameter -CConnection to specify the database connection, the parameters -uUsername -pPassword -hHostname -PPort -DDatabase are now used.

This also works if the user has not selected to store the database connection passwords.