Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

connect mysql error #48

Open
gao4263 opened this issue Jul 27, 2020 · 1 comment
Open

connect mysql error #48

gao4263 opened this issue Jul 27, 2020 · 1 comment

Comments

@gao4263
Copy link

gao4263 commented Jul 27, 2020

mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'

I use the eth0 ip of wsl2 , it works.

but another ubuntu mysql instance support 'localhost' connect

@gao4263
Copy link
Author

gao4263 commented Jul 28, 2020

I submit a issure : #5658 in microsoft/WSL

response said that: Deleted template. If it is working in ubuntu not centos the problem is almost certainly in userspace not WSL.

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

No branches or pull requests

1 participant