Hello,
If you are trying to import an SQL file through command line on windows and you get this error message
ERROR 2006 (HY000) at line 8245: MySQL server has gone away
then you need to open your my.cnf or my.ini and update as
max_allowed_packet = 3000M
more than the size of the file you are trying to import, like I was trying to import a 2.2 GB file.
Thanx
Anshumaan Bakshi
If you are trying to import an SQL file through command line on windows and you get this error message
ERROR 2006 (HY000) at line 8245: MySQL server has gone away
then you need to open your my.cnf or my.ini and update as
max_allowed_packet = 3000M
more than the size of the file you are trying to import, like I was trying to import a 2.2 GB file.
Thanx
Anshumaan Bakshi
No comments:
Post a Comment