The error given below may be received while importing / restoring databases.
ERROR 1153 (08S01) at line xxxx: Got a packet bigger than 'max_allowed_packet' bytes
The default value of max_allowed_packet is 16MB in mysql database server.
This value is falling short for the restoration of database. We can set it's value as per
our need.
1) vi /etc/my.cnf
2) restart mysql service to implement this change.[mysqld]
max_allowed_packet = 32M
3) Now the datbase must get restored without any problem .






Reply With Quote

Bookmarks