解决方案使用Navicat执行大数据量的sql文件时,会报错:MySQL server has gone away 解决方案修改mysql配置 [mysqld]max_allowed_packet=50Mwait_timeout=288000interactive_timeout = 288000