返回顶部

Mysql -- linux -N -e 命令

-e 和 -N

  /usr/local/bin/mysql -h127.0.0.1 -uroot -pxxxx -N -e "use abc; show tables;" 

  -e 后面跟上要执行的SQL语句

  -N 参数是不显示表头 

 

posted @ 2020-06-24 09:18  Be-myself  阅读(967)  评论(0编辑  收藏  举报
levels of contents 点击查看具体代码内容