Xshell中將MySQL查詢的結果數據導出爲CSV

Xshell下:mysql mysql -h服務器 -u用戶名 -p密碼 -e"select * from db.table where date = '2018-10-01' ;" > /usr/home/abc/csv表名.csv 或者在MySQL下進行:web select * from db.table where date = '2018-10-01' into outfile 'my_
相關文章
相關標籤/搜索