Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

【docker】docker 中的应用怎么连接宿主机 MySQL ?

使用 docker for windows 安装了 metabase。
metabase 页面可以直接通过 localhost:3000 访问,但是连接数据库使用 localhost:3306 显示 access denied。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

连接宿主机服务使用 host.docker.internal 作为 host。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...