Bug #10517 | Reconnecting the database using '\r' or 'connect' rises with lost connection. | ||
---|---|---|---|
Submitted: | 10 May 2005 15:37 | Modified: | 17 May 2005 17:09 |
Reporter: | Disha | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.5 | OS: | Windows (Windows Server 2003) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
[10 May 2005 15:37]
Disha
[10 May 2005 15:45]
MySQL Verification Team
Testing on Linux it behaves a little different: mysql> connect test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Connection id: 6 Current database: test mysql> connect test connect ERROR 2005 (HY000): Unknown MySQL server host 'connect' (1) mysql> connect test ERROR 2005 (HY000): Unknown MySQL server host 'connect' (1) mysql> select database(); No connection. Trying to reconnect... ERROR 2005 (HY000): Unknown MySQL server host 'connect' (1) ERROR: Can't connect to the server mysql>
[17 May 2005 17:07]
Jim Winstead
This bug report doesn't make any sense. The 'mysql' command line client doesn't support a 'connect' command, and the syntax for 'connect' in mysqltest is different.
[17 May 2005 17:09]
Jim Winstead
Sorry, I spoke a little hastily. There is, of course, a 'connect' command in the command-line client. But I don't see the bug here -- 'connect test connect' is telling the client to connect to a server named 'connect', and it appears to be failing as expected.