ERROR 2006: MySQL server has gone away

92

In this article,  we will discuss ERROR 2006: MySQL server has gone away ?

you can resolve this only few change. which given below

  1. Windows : go to XAMPP click on MySQL config and open my.ini
  2. Debian Linux : file is located at /etc/mysql/my.cnf
  3. Fedora/Centos Linux : file is located at /etc/my.cnf

 

Increase packet size :


max_allowed_packet = 128m

LEAVE A REPLY

Please enter your comment!
Please enter your name here