0

Hi have this really strange problem. Every query executed in mysql returns: "mysql has gone away" followed by a normal result.

Looks like this:

mysql> select 1 ;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    833332004
Current database: *** NONE ***

+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)

It happens regardless of which query is executed from any connections. Is there any way of recovering from this without restarting the process ?

This happened after an issue with code that occurred that caused legitimate "mysql has gone away" state. The root cause has been fixed, the db load and conn count dropped, yet, the message remains stuck. Looks like a bug to me, but I want to avoid restart if possible.

Tomasz Rakowski
  • 1,052
  • 4
  • 13
  • 27

0 Answers0