Mysql reconnect: mor: Unknown connection error: (2006) MySQL server has gone away.

From Kolmisoft Wiki
Revision as of 14:48, 24 June 2011 by Mindaugas (talk | contribs)
Jump to navigationJump to search

This error message appears when connection between MySQL database and MOR application app_mor.so timeouts.

Default timeout is 8h. Timeout happens when in 8h there are no requests to MySQL database.

app_mor.so automatically reconnects to MySQL database so there's no need to take any additional actions.


Another cause for this error could be caused by a query longer than the max_allowed_packet in /etc/my.cnf