MySQL server has gone away
Query:
SELECT s.Subdivision_ID FROM Subdivision as s, Sub_Class as c
             WHERE c.Class_ID = 47
               AND c.Subdivision_ID = s.Subdivision_ID
               AND s.Catalogue_ID = 1
             LIMIT 1
Query:
SELECT `Field_ID` as `id`, `Field_Name` as `name`, `TypeOfData_ID` as `type`, `Format` as `format`, `Description` AS `description`, `NotNull` AS `not_null`, `DefaultState` as `default`, `TypeOfEdit_ID` AS `edit_type`, `DoSearch` AS `search` FROM `Field` WHERE `Checked` = 1 AND `Class_ID` = '57' ORDER BY `Priority`
Error:
MySQL server has gone away