Friday, August 03, 2007

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

When i tried to import data to MySQL through large SQL file (4.71MB), i got the above error. To overcome this issue we need to add the below option in my.ini file of MySQL.

max_allowed_packet=16M

Restart MySQL service.

No comments: