How to repair ERROR 2006 (HY000) at line ???: MySQL server has gone away

  • A+
所属分类:LNMP

This error was caused by your large Database's .sql files.You can't inport too large

how to deal with it ?

vi /etc/my.cnf

Modify this configuration until it no longer prompts an error:

max_allowed_packet = ????M

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: