Its very rare case when I see message :
â€œMYSQL server has gone awayâ€ , a few things to consider are :
* Check variable max_timeout
* Check variable max_allowed_packet
These setting available in my.ini or my.cf file, edit the value and restart mysql daemon.
Try again to import database using mysql command and see the different