在centos中执行sql语句并导出到csv文件中

在centos中执行sql语句并导出到csv文件中

 mysql -A 库名称 -h 127.0.0.1 -u 账号 -p密码 -e "  

SQL语句

 " > /data/export/file-2023.csv ;
评论