Given a database name and a SQL query, dumps results in CSV format to STDOUT. mysql_csv_export test "SELECT * FROM foobar ORDER BY foo"