mysql -h IP --port=端口 --database=数据库 -u用户 -p密码 -e "
select * from hello;
" > hello.txt
shell中执行mysql语句
最新推荐文章于 2023-09-11 10:30:51 发布
mysql -h IP --port=端口 --database=数据库 -u用户 -p密码 -e "
select * from hello;
" > hello.txt