Fork me on GitHub

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

MYSQL Error(1153): Got a packet bigger than ‘max_allowed_packet’ bytes

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

2.执行命令:

set global max_allowed_packet=1000000000;
set global net_buffer_length=1000000;
FLUSH PRIVILEGES;

原文链接:https://blog.csdn.net/qq_29298577/article/details/84257608

posted @ 2020-07-15 15:06  秋夜雨巷  阅读(75)  评论(0编辑  收藏
……