PDA

View Full Version : MySQL Server Has Gone Away


griffin
06-06-2008, 05:35 PM
I have a desktop application that connects to my MySQL server. It connects and starts synchronizing with the server. After a time (I haven't timed it) my desktop app returns with this error:

Error 2006: MySQL Server has gone away.

Is there some setting I need on the MySQL database to keep this from happening? This is a fairly lengthy process and my old hosting service didn't have any problems handling this.

This is critical to my business needs that I get this working. Anyone have any ideas?

Eriksrocks
06-06-2008, 09:16 PM
Nice. :D MySQL Server has gone away [for a coffee break and will be back in a few minutes]. :p

In all seriousness, though, are you actually able to connect to the server? It may simply be that the details aren't right and the connection is timing out. Make sure that your login, username, database, etc. are correct and that they are actually created in your cPanel. :)

One other thing is that Bluehost has a maximum time a script is allowed to run before it is auto-killed by the server. I'm not sure exactly what that limit is and the conditions that govern it, but supposedly that might be affecting you.

You might have to contact Bluehost through Live Chat or phone for this. :)

charlesp
06-07-2008, 12:20 AM
Try this link

http://dev.mysql.com/doc/refman/5.0/en/gone-away.html