Petey Pablo Posted October 29, 2012 Posted October 29, 2012 how to fix mysql server has gone away?(Always disconnected) See the image below. Im using CentOS 6 64bit. Quote
Dastgir Posted October 29, 2012 Posted October 29, 2012 Maybe you have offloaded sql or mysql timeout time is too less.(no activity in mysql for long time) Quote
Petey Pablo Posted October 29, 2012 Author Posted October 29, 2012 Maybe you have offloaded sql or mysql timeout time is too less.(no activity in mysql for long time) How to set or configure properly for offloaded sql or mysql timeout time? Quote
Brian Posted November 3, 2012 Posted November 3, 2012 How much RAM does your server have? free -m Is MySQL Server running on the same machine or a separate VPS? What is the 'wait_timeout' config on your MySQL Server? (connect to MySQL and execute this query) SHOW VARIABLES LIKE 'wait_timeout'; Quote
Petey Pablo Posted November 3, 2012 Author Posted November 3, 2012 (edited) How much RAM does your server have? free -m Is MySQL Server running on the same machine or a separate VPS? What is the 'wait_timeout' config on your MySQL Server? (connect to MySQL and execute this query) SHOW VARIABLES LIKE 'wait_timeout'; MySQL is running on same machine. For the RAM? See the image below For the wait_timeout. See the image below Edited November 3, 2012 by WillSuranol Quote
Brian Posted November 4, 2012 Posted November 4, 2012 hmm both look fine to me: 2 GB ram and 8 hours wait_timeout (the default). I don't know what could be causing it. If you have a separate machine, or even your own computer to test on, can you run rAthena and see if you get "MySQL Server has gone away" ? Quote
Winz Posted December 20, 2012 Posted December 20, 2012 I don't know but seems that if there's nothing to do, rA server will ping the MySQL server to keep him alive.. Quote
Question
Petey Pablo
how to fix mysql server has gone away?(Always disconnected) See the image below. Im using CentOS 6 64bit.
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.