网站介绍:文章浏览阅读1.2k次。1、在Shell中执行MySQL相关查询通过参数-e[root@node1 ~]# mysql -uroot -p123456 -e "show databases"mysql: [Warning] Using a password on the command line interface can be insecure.+--------------------+| Database |+--------------------+| employees _mysql进入容器执行show databases shell
- 链接地址:https://blog.csdn.net/chengyuqiang/article/details/121340775
- 链接标题:MySQL和Shell命令交互执行_mysql进入容器执行show databases shell-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7868
- 网站标签:mysql进入容器执行show databases shell