I couldn't write using the output command. If I had I don't know how I would have gotten the file.
Instead I just used redirects:
Code:
mysql --host=xxx.xxx.xxx.xxx --user=dbaselogin --password=mypassword < mysqlscript.sql > myoutputfile.csv
Thank you for your tips and suggestions.