Bug #21678 setting a default schema in query browser raises an error when connecting
Submitted: 16 Aug 2006 19:47 Modified: 16 Aug 2006 20:51
Reporter: Peter Lavin Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.1 beta OS:Windows (xp)
Assigned to: CPU Architecture:Any
Tags: error 1049, unknown database

[16 Aug 2006 19:47] Peter Lavin
Setting a default schema in the query browser raises an eror when connecting to a different server from the MySQL Administrator.

How to repeat:
Connect to a server in the query browser and set a default schema.

Open the Administrator and connect to a different server. The following error is shown:

A MySQL error was encountered. The message is:

Cannot clone MySQL connection. The following error occured: Unknown database 'books'. (1049)

The app then opens but the server information is incomplete.

Remove the default schema from the query browser and this error goes away.

Suggested fix:
Don't look at the schema for a different server when opening the administrator.
[16 Aug 2006 20:51] Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicates bug #19824.

In both cases error happens, because there is not database on the server.