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

Localhost can't connect to mysql #5990

Closed
zhaozhiguang opened this issue Sep 26, 2020 · 2 comments
Closed

Localhost can't connect to mysql #5990

zhaozhiguang opened this issue Sep 26, 2020 · 2 comments

Comments

@zhaozhiguang
Copy link

Environment

Windows build number: Microsoft Windows [版本 10.0.19041.508]
Your Distribution version: ubuntu Release: 20.04
the issue is on WSL2

Steps to reproduce

wsl2 can not localhost connect mysql in docker ,but ip connect mysql in docker is ok
image
image

Expected behavior

I want localhost to be able to connect to mysql

Actual behavior

Localhost can't connect to mysql, but IP can

@therealkenc
Copy link
Collaborator

Windows build number: Microsoft Windows [版本 10.0.19041.508]

On 19041 this is /dupe #5298. See also #4851.

image

Configure mysql to bind on 0.0.0.0.

image

@ghost
Copy link

ghost commented Sep 26, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed Sep 26, 2020
@ghost ghost added the duplicate label Sep 26, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants