Jump to content

Recommended Posts

Generally you only see that message when the MySQL server disconnects because the connection timeout has been exceeded.  In your my.ini set the wait_timeout to something greater that what it is currently to make the change permanent.  If you want to make the change with out restarting MySQL you can execute the following:

 

set global wait_timeout=300;

 

The value of 300 is in second so the MySQL server would not disconnect from a connection until 5 minutes had passed.  Be careful what you set this value to because if you have your max_connection set too low it will cause connection to stack up and not be released.

 

Thanks,

 

whit3fir3

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.