数据导入报错:Got a packet bigger than‘max_allowed_packet’bytes的问题

 
2个解决方法:
 
1.临时修改:mysql>set global max_allowed_packet=524288000;修改 #512M
 
2.修改my.cnf,需重启mysql 
  在 [MySQLd] 部分添加一句(如果存在,调整其值就可以):
  max_allowed_packet=10M

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-07-19
  • 2021-04-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-04-08
相关资源
相似解决方案