Fixed MySQL server has gone away