This error codes simply implies your SQL server has 'gone away' normally happening when there is too much data being sent to the server. So it disconnects to save itself crashing.. or worse yet it has crashed. There are ways to avoid this by ensuring your packet setting is set higher than the standard setting
change: to
MySQL 5> will display the error code:
MySQL <4 will display the error:
9/10 however you simply need to try again after a few moments.