Home > Database > Mysql Tutorial > MySql Error 2006_MySQL

MySql Error 2006_MySQL

WBOY
Release: 2016-05-31 08:49:51
Original
1079 people have browsed it

导入长字段时出现2006错误

在my.ini最后添加

max_allowed_packet = 10M

问题解决。

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

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