MySQL ERROR:1153 的解决方法

 1153 的解决方法

报错:I had the same problem, with an 8gb .sql file. I didn't have any luck with --max_allowed_packet;

解决方法如下:

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

2.执行命令:

1). set global max_allowed_packet=1000000000;

2). set global net_buffer_length=1000000;

3. FLUSH PRIVILEGES;

你可能感兴趣的:(java,SQL,Mysql,1153)