VPS
Main PagecPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Control Panel Licensing
ServerTune ResellersResellersSpecial PromotionsServerTune SpecialsHomeAbout ServerTuneContact usTechnical SupportKB
ServerTune Main Page
Space
Space
Our most popular products:

SPECIAL PROMOTION: cPanel License $36 /month. more info

Issues, Tips, and Solutions

Protect your server with Mod Security rules written specifically for your system. more info ...

Space
Search:    Advanced search
Browse by category:
Got a packet bigger than 'max_allowed_packet' bytes
Printer Friendly
email to a friend
Add comment Add comment
Views: 451
Votes: 0
Comments: 0
Posted: 19 Jan, 2008
by: Support T.
* * * * *
Updated: 19 Jan, 2008
by: Support T.
If you get this error when trying to dump a MySQL DB, this is due to the packet limit of MySQL server (more details from MySQL documentation at: http://dev.mysql.com/doc/mysql/en/packet -too-large.html . To solve this issue, add an extra entry into /etc/my.cnf file under [mysqld] group:
    max_allowed_packet = 100M

This will reset the limitation to 100Mb for file insertion into blob type (or longblob) column. Then restart mysql server:

  • /sbin/service mysql restart
Other articles in this Category
document I see hundreds of mysql-bin.00xxxxxxx files in /var/lib/mysql directory. What are these files?
document Starting MySQLCouldn't find MySQL manager or server
document How can I check if query cache is working on my MySQL server?
document HowTo :: commands, statements, and clauses
document HowTo :: change MySQL root password



RSS