Got a packet bigger than max_allowed_packet bytes Posted on 2010-02-27 In mysql mysql导入数据失败,用命令行导入数据时,mysql提示Got a packet bigger than ‘max_allowed_packet’ bytes错误,意思是说数据包大小超过mysql限制,解决方法如下 修改mysql配置文件 在[mysqld]中找到max_allowed_packet,将其值改大即可。 重新启动mysql,再次导入数据,成功!