DEV Community

Discussion on: Connecting MySQL Server in Windows Machine From WSL

Collapse
 
ajcousins profile image
Alvin Cousins

It wasn't so clear to me which IPv4 address was attached to WSL- so ended up trying all of the ones listed. I guess it should start 192.168...
Eventually got it to connect. Thanks!

Collapse
 
qviper profile image
Viper

Yes. Thank you for pointing out. I have updated this blog. I suppose the one that worked in your case must be the address with name WSL in it.

Collapse
 
ajcousins profile image
Alvin Cousins

Well that was part of the confusion: the address with “WSL” in its name didn’t work for me, but instead one starting “192.168…” did.