Get the App
SLTechnology News&Howtos  ›  Development  › 

How to access the database in Windows and WSL

Shulou Source: shulou.com Published: 2022-06-03 15:07:05 11月14日 Update

How to achieve mutual access between Windows and WSL database, I believe that many inexperienced people do not know what to do. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Windows accesses the database in WSL, using localhost or 127.0.0.1 directly.

For WSL to access the database in Windows, you need to use Windows's external IP (for example, 192.168.1.100), which can be viewed using ipconfig on the Windows command line.

The same is true for the exchange of visits between Windows and other WSL networks.

After reading the above, do you know how to access each other's databases in Windows and WSL? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Data database content method more problem same helpless for this reason available in command skill article experience network industry information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Shulou Tech Info Xiaomi macOS