MySQL SQLyog 导入sql报错 Error Code: 2006

点击(此处)折叠或打开

  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秒

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章