Home >Database >Mysql Tutorial >MySql Error 2006_MySQL

MySql Error 2006_MySQL

WBOY
WBOYOriginal
2016-05-31 08:49:511078browse

导入长字段时出现2006错误

在my.ini最后添加

max_allowed_packet = 10M

问题解决。

max_allowed_packet 参数的作用是,用来控制其通信缓冲区的最大长度。

Statement:
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