Revision history [back]

click to hide/show revision 1
initial version

If you are running an HA setup where there are multiple mysql servers, then you can see the error

2006, 'MySQL server has gone away

as it refers to the fact that the connection has been closed for some reason. This can be for a variety of reasons including haproxy moving the connection to another endpoint, or that the connection idle long enough that the socket was closed.