Last Updated: February 25, 2016
· donutdan4114

Error importing Drupal site

If you get this common MySQL error when trying to import a Drupal site:

ERROR 2006 (HY000): MySQL server has gone away

You probably need to modify this value in your my.cnf file:

# Increase this value to fix error:
#max_allowed_packet = 1M
max_allowed_packet = 16M