Error Code: 2013. Lost connection to MySQL server during query

后端 未结 29 2242
深忆病人
深忆病人 2020-11-22 16:22

I got the Error Code: 2013. Lost connection to MySQL server during query error when I tried to add an index to a table using MySQL Workbench. I noticed als

29条回答
  •  天命终不由人
    2020-11-22 16:29

    Add the following into /etc/mysql/cnf file:

    innodb_buffer_pool_size = 64M
    

    example:

    key_buffer              = 16M
    max_allowed_packet      = 16M
    thread_stack            = 192K
    thread_cache_size       = 8
    innodb_buffer_pool_size = 64M
    

提交回复
热议问题