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