Page 1 of 1

MySQL Server has Gone Away

PostPosted: 05. October 2012 22:32
by MrAlexander
Hello,

I am using XAMPP 1.7.4 and I have setup MySQL to run as a service.

I am often receiving the "MySQL Server Has gone away" message and I understand that it is as a result of the wait_timeout or interactive_timeout being low.

When I update the "\xampp\mysql\bin\my.ini" file and add the following and enter "SHOW VARIABLES" in the console, after restarting the service and the console, I still see 28800 as the values, which is the default value.

wait_timeout = 604800
interactive_timeout = 604800

Any help would be appreciated,

Alexander

Re: MySQL Server has Gone Away

PostPosted: 06. October 2012 01:19
by JonB
Hello MrAlexander -

Without some idea of the code or script you are running and what it is supposed to do, it's impossible to guess what the problem might be.


Good Luck