…) was down. I figured out that everything was waiting on MySQL, so I restarted it to see if that would fix… lost. Then I received an e-mail, saying “Backup failed: MySQL has gone away” or something to that effect. Eventually I realized what had… aborted with Ctrl-C. In fact, in that version of MySQL, this only caused the client to exit, and left the…
Comment: Connecting orphaned .ibd files
… 2006 (HY000): MySQL server has gone away > No connection. Trying to reconnect… > Connection id: 3 > Current database: database > ERROR 2006 (HY000): MySQL server has gone away > No connection. Trying to reconnect… > ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock…
Post: Troubleshooting MySQL Memory Usage
… not the total any more as Innodb has moved allocating memory from operation system directly… rather rare in MySQL. Most suspected memory leaks end up being some run away resource usage, though these can happen. Some memory leaks might happen per connection and they will be gone…
Comment: Percona XtraDB Cluster reference architecture with HaProxy
…. A large bulk of queries (reads and writes) causes ‘MySQL server has gone away‘, but really mysqld process is alive. Error log does not…, so problem with HAProxy. Debug in the same as Mike has: 00000000:pxc-referencenode-front.accept(0006)=0009 from [10.0… is the latest – 5.5-28 Is here anyone who has already experienced in this and have a solution? Thanks in…
Comment: Percona XtraDB Cluster reference architecture with HaProxy
… log into the cluster directly from a remote machine wit mysql then the session stays alive, however, if I log in… proc 5 session 233461088 caused an error: MySQL server has gone away just after the session has closed. Not all pt-log-player-threads close…
Comment: COUNT(*) vs COUNT(col)
… in set (0.23 sec) mysql> select count(*) from wp_comments; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect… Connection id: 2 Current database: test +———-+ | count(*) | +———-+ | 230120 | +———-+ 1 row in set (1.19 sec) mysql…
Comment: Percona XtraDB Cluster reference architecture with HaProxy
… little late, but nonetheless: If you are running into the ‘MySQL server has gone away‘ problem, you should change the “timeout server” and “timeout… haproxy.cfg file according to your “wait_timeout” value of MySQL (28800 by default). In my case, I have set the… 3601s … etc — Again, just make sure it corresponds to your MySQL timeout value. Also, if you’re running into problems with…
Comment: Percona XtraDB Cluster reference architecture with HaProxy
… that one. For haproxy and mysql server has gone away: this is usually timeout/maxconn mismatch on either haproxy or mysql side. If you are…
Post: How to track down the source of Aborted_connects
… I helped someone who was seeing a lot of “server has gone away” error messages on his website. While investigating this problem, I….XX.XX.XXX’ is not allowed to connect to this MySQL server I’ve anonymized the offending IP address. However, I…

