MySQL error code: 2006

Posted by Glostar, 04-18-2009, 03:54 AM
I update MySQL from version 4 to 5.0.67-community. Now, I often get errors: I think MySQL is not properly configured, but I don't find problem. Below is content of the file - my.cnf. Please see it and compare with yours. Maybe I have low limits into it. Please give me any advice ...

Posted by relichost, 04-18-2009, 09:21 AM
Hi whats does /var/log/mysqld.log show in terms of errors ? Thanks

Posted by CloudSolutions, 04-18-2009, 09:41 AM
Dear Glostar, For test purposes only, Try edit max_allowed_packet=16M into max_allowed_packet=32M Let me know if this error repeats after this change. Good Luck!

Posted by Servosupport, 04-18-2009, 09:58 AM
Yes, Please try to increase the max_allowed_packet setting also you can refer to http://dev.mysql.com/doc/refman/5.0/...too-large.html

Posted by Glostar, 04-21-2009, 10:04 AM
After I updated my.cnf, I got only 2 errors within 48 hours. This is much better, but not settled the problem. Still I should continue optimization of my.cnf. Please give me any further suggestion Below is new content of my.cnf :

Posted by ServerManagement, 04-21-2009, 10:07 AM
Try increase the timeouts and see how it goes then, that should help with this.

Posted by Glostar, 04-21-2009, 10:37 AM
which timeout particularly ?

Posted by shellexpert, 04-21-2009, 10:54 AM
increase the interactive_timeout in my.cnf. This will fix the issue

Je li Vam ovaj odgovor pomogao?

 Ispiši članak

Također pročitajte

Revecom Down

Posted by David@Digisurge, 09-11-2001, 01:25 AMAnyone else getting 404 errors for their Revecom...

Second slash on production server

Posted by Morecoffee, 03-07-2010, 01:52 PMHello, When I develop PHP scripts on my local server...

How do I stop /tmp directory hacks?

Posted by tnedator, 06-19-2008, 04:03 PMI'm on a Cpanel/WHM (latest release version) VPS with...

php website taking screenshots of other websites...

Posted by thomase, 09-08-2008, 04:29 PMI'd like to be able to take a screen shot, similar to the...

php help

Posted by BattleMasterGaara, 02-06-2011, 10:44 PMWhat code do i use just to switch the content of...