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

Was this answer helpful?

 Print this Article

Also Read

Ioncube on server?

Posted by vito, 01-11-2008, 03:42 PMWhat command line entry do I use to find out if I have...

2 questions about setting up domain registration!!

Posted by 21inchguns, 09-13-2001, 09:41 AMHi there, I just have two questions regarding setting...

Own a Server? (Remove Fantastico now)

Posted by BitSurFer, 04-30-2007, 08:31 PMHello EveryOne If you have Fantastico installed in your...

Billing software

Posted by GandalfDDUK, 08-29-2002, 04:25 AMJust wondering what people recommend for billing...

Which one is best? McHost or Voxtreme

Posted by ghost, 08-26-2002, 12:31 PMHi I want to buy an reseller account but not just for...