pasting
mysql command-line operations Daquan
https://www.cnblogs.com/offcos/articles/10368554.html
mysql select statement to export the results to excel files
https://www.cnblogs.com/awakenedy/articles/9796463.html
mysql -h127.0.0.1 -uroot -p123 -e "select * from edu_iclass_areas" test > /Users/zhengcanrui/WORK/test/test.xls
pasting