Saturday, May 16, 2020

Connect windows MySQL from wsl2

Can't connect to mysql server from wsl2.


>~/dvp/c$ mysql -u root -p --host 192.168.0.102 --port 3306 --protocol=TCP
    Enter password:
    ERROR 1130 (HY000): Host 'host.docker.internal' is not allowed to connect to this MySQL server



Same as
https://superuser.com/questions/1536619/connect-to-mysql-from-wsl2

Still looking for solution.

No comments: