in reply to MySQL has gone away

Your MySQL server probably stopped. Start it up again.

Check your error logs to see why it stopped.