解决:Error Code: 2006 – MySQL server has gone away

Error Code: 2006 – MySQL server has gone away 解决方法:

再导入数据前,先执行:

SET GLOBAL  max_allowed_packet=16048576;

就行了。

评论已关闭。