Discussion:
[JIRA] Created: (MYO-105) Misleading MySQL error 1046 returned when a connection is closed. Should return 2013
Edward Archibald (JIRA)
2009-08-19 00:11:46 UTC
Permalink
Misleading MySQL error 1046 returned when a connection is closed. Should return 2013
-------------------------------------------------------------------------------------

Key: MYO-105
URL: https://forge.continuent.org/jira/browse/MYO-105
Project: Tungsten Connector
Type: Bug

Reporter: Edward Archibald
Assigned to: Gilles Rayrat


After doing a 'switch' in cctrl, a user inside of mysql client got a 1046 error that indicates 'No database selected'. This is a bogus error. The problem was that the connection went away. The more correct message would be:

ERROR 2013 (HY000): Lost connection to MySQL server during query
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Edward Archibald (JIRA)
2009-08-19 00:13:46 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-105?page=all ]

Edward Archibald resolved MYO-105:
----------------------------------

Resolution: Fixed

Updated code in MySQLProtocolHandler
Post by Edward Archibald (JIRA)
Misleading MySQL error 1046 returned when a connection is closed. Should return 2013
-------------------------------------------------------------------------------------
Key: MYO-105
URL: https://forge.continuent.org/jira/browse/MYO-105
Project: Tungsten Connector
Type: Bug
Reporter: Edward Archibald
Assignee: Gilles Rayrat
ERROR 2013 (HY000): Lost connection to MySQL server during query
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Loading...