MySQL server has gone away SQL query : select photoID, filename, thumbnail, enlarged from SS_product_pictures where photoID!=18381885 AND productID=44684