Home > Database > Mysql Tutorial > body text

数据导入报错:Got a packet bigger than‘max_allowed_packet’_MySQL

WBOY
Release: 2016-06-01 13:42:43
Original
928 people have browsed it

bitsCN.com
数据导入报错:Got a packet bigger than‘max_allowed_packet’bytes的问题 2个解决方法: 1.临时修改:mysql>set global max_allowed_packet=524288000;修改 #512M 2.修改my.cnf,需重启mysql。       在 [MySQLd] 部分添加一句(如果存在,调整其值就可以):  max_allowed_packet=10M   作者 lafang2009 bitsCN.com

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template