If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MY SQL Gone Away

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-13-10, 03:30
mrparkes134 mrparkes134 is offline
Registered User
 
Join Date: Aug 2010
Location: Manchester
Posts: 1
MY SQL Gone Away

HI,

Sorry for what's probably a newbie question, but I've being having real issues with the error "mysql server has gone away" when running certain queries on an PHP application my VPS.

Can any point me in the direction of some resource that would indicate which factors in my code would likely cause this error?
Reply With Quote
  #2 (permalink)  
Old 09-13-10, 10:25
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
The most common reason for the MySQL server has gone away error is that the server timed out and closed the connection. In this case, you normally get one of the following error codes (which one you get is operating system-dependent).

CR_SERVER_GONE_ERROR - the client could not send a request to the server.
CR_SERVER_LOST - the client send the request to the server but the server response was incomplete.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On