Export Email Addresses

Could not successfully run query (SELECT * FROM wp_email_list WHERE gets_mail = 1) from DB: No database selected