Uncaught PDOException

SQL Query: SELECT * FROM `resource.file` LEFT JOIN `$tags resource.file` ON `resource.file`.`id` = `$tags resource.file`.`owner` WHERE `type` LIKE 'image/%' && ((`$tags resource.file`.`model` ='members.member') && (`id` IN (SELECT `owner` FROM `$tags resource.file` WHERE `model` = 'members.member' && `model-id` = '113054'))) GROUP BY `resource.file`.`id`ORDER BY `$tags resource.file`.`priority` ASC , created_timestamp DESC

Lost connection to MySQL server during query — just now.