ITPub博客

首页 > 数据库 > MySQL > MySQL SQLyog 导入sql报错 Error Code: 2006

MySQL SQLyog 导入sql报错 Error Code: 2006

原创 MySQL 作者:哎呀我的天呐 时间:2015-08-29 10:11:55 0 删除 编辑

点击(此处)折叠或打开

  1. Error occured at:2015-08-29 10:00:17
  2. Line no.:19
  3. Error Code: 2006 - MySQL server has gone away
因为我的包有700M,所以超出mysql限制

[mysqld]

点击(此处)折叠或打开

  1. max_allowed_packet=1024M
  2. wait_timeout=200000
  3. interactive_timeout = 200000
意思是最大允许数据包1024M,等待超时/活动失效时常200000秒

好了

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29990276/viewspace-1785609/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: sql 练习
下一篇: MySQL 索引之ICP
请登录后发表评论 登录
全部评论
https://cloud.tencent.com/developer/inventory/14362

注册时间:2014-10-30

  • 博文量
    403
  • 访问量
    2528800