1. 通过命令 docker inpect mysql容器id ,查询mysql容器的密码和绑定的端口号
2.通过vscode插件或者navicat等可视化工具,进行连接即可。
有问题请进群联系我,或者添加我的微信:mengyilingjian,添加时请备注,谢谢!