📌  相关文章
📜  localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away - 不管代码示例

📅  最后修改于: 2022-03-11 14:59:49.544000             🧑  作者: Mango

代码示例1
1. SSH or SFTP to the Server

2. Look for my.cnf with whereis command (my.cnf can be found on linux: /etc/mysql)

4. Add the following line to my.cnf:

max_allowed_packet=64M

5. Save and close the file

6. Restart MySQL server using or Restart the Server