This is a script to programmatically fetch the IP address of the active interface (Ethernet/Wireless), plug it into the command to connect to the mysql instance hosted there, and login. Specifically in the case of a MySql server being hosted on the Windows host of an Ubuntu instance running in WSL.
ailajm/wsl-mysql-connect
This is a script to programmatically fetch the IP address of the active interface (Ethernet/Wireless), plug it into the command to connect to the mysql instance hosted there, and login. Specifically in the case of a MySql server being hosted on the Windows host of an Ubuntu instance running in WSL.
Shell