mysqldump generate table csv code example
Example: mysqldump csv
mysqldump -u username -p -t -T/path/to/directory dbname table_name --fields-terminated-by=','
mysqldump -u username -p -t -T/path/to/directory dbname table_name --fields-terminated-by=','