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