Tuesday, October 25, 2011

phpMyAdmin: #1153 got a packet bigger than 'max_allowed_packet' bytes

Sometimes when importing database into MySQL, you may face with the error message of "#1153 got a packet bigger than 'max_allowed_packet' bytes"

To resolved this issue in phpMyAdmin, simply increased max_allowed_packet to 16MB in MySQL configuration file: my.ini. For example:

#max_allowed_packet = 1M
max_allowed_packet = 2M

No comments:

Post a Comment