NEW VPS Plans

ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.

Click here for more info ...

NEW VPS Plans

Click to hideClick to view
ServerTune

Browse by category

Search    |    Advanced search

Got a packet bigger than 'max_allowed_packet' bytes

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:

Printer Friendly
 
email to a friend
Email to friend
 
Add comment
Add comment
 
Views: 4025
 
Votes: 0
 
Comments: 0
 
Posted: 19 Jan, 2008 by: Customer Service S.
Updated: 06 Mar, 2011 by: Customer Service S.

Other articles in this Category

Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
RSS