MYSQL Error: “Error Code: 2006 - MySQL server has gone away”

I am getting following error, when I try to import MYSQL database:
Error Code: 2013 - Lost connection to MySQL server during queryQuery:
Error Code: 2006 - MySQL server has gone away
Problem.


Check Error :


Check Sql Dump File Size (.sql)


Check setup my.ini on D:\wamp\bin\mysql\mysql5.7.9\my.ini (Wamp Server)


Change max_allowed_packet from 1M  to 128M


Restart Wamp Server, and Try again.


Alhamdulillah, Successfull.. :)

Post a Comment

0 Comments