Jump to content
  • 0

mysql server is always disconnected


Question

7 answers to this question

Recommended Posts

Posted

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';

Posted (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

nd8kyh.jpg

For the wait_timeout. See the image below

fedoa1.jpg

Edited by WillSuranol
Posted

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" ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...