The MySQL server has gone away error, means that MySQL server (mysqld) timed out and closed the connection. Continue reading......