MySQL Server has Gone Away

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL Server has Gone Away

Postby MrAlexander » 05. October 2012 22:32


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,

Posts: 8
Joined: 03. May 2011 14:29

Re: MySQL Server has Gone Away

Postby JonB » 06. October 2012 01:19

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
User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests