Connect Windows (XAMPP) MySQL from WSL2 Ubuntu
Install MySQL client on WSL Ubuntu.
sudo apt install mysql-client-core-8.0
Back yo Windows, run:
mysql -u root -p
Enter this command to enable root account for any host:
> CREATE USER 'root'@'%' IDENTIFIED BY 'root'; GRANT ALL PRIVILEGES ON *.* TO ...
lab.simular.co1 min read