ERROR 2006 mysql

时间:2018-02-15 13:54:18

标签: mysql

我尝试附加一个非常大的值,这个值有2530000个字符。但是我犯了一个错误:

  

ERROR 2006(HY000)第867015行:MySQL服务器已经消失

我试过了:

max_allowed_packet=3562M

sql_mode = ""

innodb_buffer_pool_size = 256M

innodb_additional_mem_pool_size = 10M

 innodb_lock_wait_timeout = 180

1 个答案:

答案 0 :(得分:1)

也许:

wait_timeout=28800 interactive_timeout = 28800 max_allowed_packet=16M

检查一下,也许会有所帮助: https://dev.mysql.com/doc/refman/5.7/en/gone-away.html