linux下导出mysql表为CSV

linux下导出mysql表为CSV
/usr/ local/mysql55/bin/mysql --defaults-file=/usr/ local/mysql55/var/ my.cnf -uroot -pdev -e  " select * from report.appcontent into outfile '/tmp/appcontent.csv' fields terminated by ',' optionally enclosed by '\ "'  escaped by  '\ " ' lines terminated by '\r\n' "

你可能感兴趣的:(linux下导出mysql表为CSV)