Difference between revisions of "Mysql reconnect: mor: Unknown connection error: (2006) MySQL server has gone away."
From Kolmisoft Wiki
Jump to navigationJump to search
Line 5: | Line 5: | ||
'''app_mor.so automatically reconnects to MySQL database so there's no need to take any additional actions.''' | '''app_mor.so automatically reconnects to MySQL database so there's no need to take any additional actions.''' | ||
<br><br> | |||
---- | ---- | ||
<br><br> | |||
Another cause for this error could be caused by a query longer than the max_allowed_packet in /etc/my.cnf | Another cause for this error could be caused by a query longer than the max_allowed_packet in /etc/my.cnf |
Revision as of 14:48, 24 June 2011
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