MYSQL ERROR: Lost connection to MySQL server during query

Query: SELECT * FROM ms_blog_photos LEFT JOIN ms_photos ON ms_blog_photos.bp_pic=ms_photos.pic_id WHERE bp_blog='1311' ORDER BY bp_order ASC LIMIT 1