mysql导入数据文件出现“MySQL server has gone away,There was an error while executi”错误解决方案
//Therewasanerrorwhileexecutingaquery.
出现如上错误,是因为mysql数据库默认的内存比较小,需要修改安装目录下my.ini文件,具体修改方案是:在[mysqld]下端口下面添加一个max_allowed_packet=500M的键值对。
//关键字:出现MySQLserverhasgoneaway"问题,是因为mysql默认的"max_allowed