Mysql导入数据报错SQL Error(1153)

MYSQL Error(1153): Got a packet bigger than ‘max_allowed_packet’ bytes
![](https://img2020.cnblogs.com/blog/1208477/202007/1208477-20200715150444065-155590648.png)

1.在终端中使用MySQL的root用户登录MySQL;

2.执行命令:
“`sql
set global max_allowed_packet=1000000000;
set global net_buffer_length=1000000;
FLUSH PRIVILEGES;
“`
原文链接:https://blog.csdn.net/qq_29298577/article/details/84257608

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *