I ran into a ‘packet size’ and ’server has gone away’ error last night when I was running an import script.
You will need to add this to the my.ini in c:\windows

[mysqld]
set-variable = max_allowed_packet=32M