docker容器中登录mysql

docker exec -it mysql8 bash

mysql -uroot -h127.0.0.1 -p

输入密码,回车

 

posted on 2024-01-04 00:17  清清飞扬  阅读(29)  评论(0编辑  收藏  举报