The output of mysqldump -not csv
does not contain the columns, just values:
select * from AUDIT_RESULT
INTO OUTFILE '/va/tmp/audit_nresult.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
It does not contain the column names just the values. How to get the column names also?