Go Back   Cloud Computing > Support > MySQL Issues.
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-11, 00:03
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default Error : 'MySQL server has gone away'

Hello!
There is an error in my application : 'MySQL server has gone away'. I wan to fix that error. What can I do now?
Reply With Quote
  #2 (permalink)  
Old 05-24-11, 00:42
BOD Member
 
Join Date: Jun 2010
Posts: 175
Default

There are two main reasons for this error message to show:
# Either the MySQL query you are trying to execute takes too long and the MySQL server times out.
The solution for this issue is to optimize your database for the queries which fail.
# Or you have a crashed table in your database.
The solution in this case is to repair and optimize your database.
__________________
Carol.P
Reply With Quote
  #3 (permalink)  
Old 05-24-11, 03:45
BOD Member
 
Join Date: Nov 2010
Posts: 95
Default

There are several reasons for that error, but usually most of the users try to run an query after closing the connection to the server. And this points to a logic error in the application that must be corrected.

Anyway, you need to elaborate what exactly you are doing so we can suggest you an appropriate solution.
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 00:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.