SELECT STRAIGHT_JOIN u.*, u.externalOptions as userExternalOptions, v.*, c.iconClass, c.name as category, c.clean_name as clean_category,c.description as category_description, v.created as videoCreation, v.modified as videoModified FROM videos as v LEFT JOIN categories c ON categories_id = c.id LEFT JOIN users u ON v.users_id = u.id WHERE 2=2 AND u.status = 'a' AND (v.type = 'video' OR v.type = 'embed' OR v.type = 'linkVideo') AND v.status IN ('a','k','f') ORDER BY v.created DESC LIMIT 6904, 8 \nError : (2006) MySQL server has gone away