Too many connections
SELECT files.file_name FROM scenes, files, sites WHERE sites.id = scenes.site_id and (sites.image_used_as_update + 1) = files.scene_image and files.scene_id = scenes.id and scenes.id = 8798