Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问docker for mac容器内的php怎么连接宿主机所在局域网的mysql服务? #3

Open
Megability opened this issue Nov 3, 2018 · 1 comment

Comments

@Megability
Copy link

Megability commented Nov 3, 2018

请问docker for mac容器内的php怎么连接宿主机所在局域网的mysql服务?

@Megability Megability changed the title 请问docker容器内的php怎么连接宿主机的mysql服务? 请问docker容器内的php怎么连接宿主机所在局域网的mysql服务? Nov 3, 2018
@Megability Megability changed the title 请问docker容器内的php怎么连接宿主机所在局域网的mysql服务? 请问docker for mac容器内的php怎么连接宿主机所在局域网的mysql服务? Nov 4, 2018
@shmilylbelva
Copy link
Owner

只需要把host改为内网ip就可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants