1.$ cp /usr/share/mysql/my-xxx.cnf /etc/my.cnf
2.In the my.cnf file, change the default
max_allowed_packet = 1M
to
max_allowed_packet = 16M
1.$ cp /usr/share/mysql/my-xxx.cnf /etc/my.cnf
2.In the my.cnf file, change the default
max_allowed_packet = 1M
to
max_allowed_packet = 16M