I am using the following query to create a CSV file
SELECT email INTO OUTFILE \"mydata.csv\" FIELDS TERMINATED BY \',\' OPTIONALLY ENCLOSED BY \'\"\' LINES
In case anyone on OS X has this problem, mysql installed with homebrew has default output located at /usr/local/var/mysql/database-name/
mysql
/usr/local/var/mysql/database-name/