Answers for "localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away"

0

localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away

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
Posted by: Guest on March-05-2021

Code answers related to "localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away"

Browse Popular Code Answers by Language