#bigger

mysql数据导入的时候提示Got a packet bigger than 'max_allowed_packet' bytes

Gotapacketbiggerthan'max_allowed_packet'bytes错误默认可能是2M把max_allowed_packet设置大于5M试试,我设置为160M,输入命令mysql>setglobalmax_allowed_packet=1024*1024*160; 即可解决此问题...