Notes to myself: how to easily write query results to disk using mysql.
1
|
|
where h
specifies the name of the mysql server, u
the username, e
the query, p
the database.
This will output a tsv file; to turn it into csv try using sed to transform tabs into commas or with tr.