参考 https://www.yzktw.com.cn/post/735256.html
1,搜索Images,mysql,选择合适的版本pull
2,Images,中点击三角箭头,run,会弹出新建Containers弹框
Containers name,随便写
Ports 需要写 0
Volumes 选安装地址
Environment Varialbes需要加上密码
MYSQL_ROOT_PASSWORD : 123456
3,运行以后,Containers中会有一个ip地址类似:
4,navigate新建链接
主机:localhost
端口:32775
用户名:root
密码:123456
然后就连上了