ERROR 2006 (HY000) at line 979: MySQL server has gone away code example Example: ERROR 2006 (HY000) at line 64: MySQL server has gone away SET GLOBAL max_allowed_packet=1073741824;