Open aborruso opened 3 years ago
Describe the bug
After installing LAMP and running mysql -u root -p (empty password), I have
mysql -u root -p
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
To Reproduce
Simply open the shell and run mysql -u root -p
Expected behavior
To be able to work with mysql/mariadb
Basic Troubleshooting Checklist
[x] I have searched Google for the error message. [x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [ ] I have reset Pengwin: Settings->Apps->Apps & features->Pengwin->Advanced Options->Reset. [ ] I have disabled and re-enabled WSL in Windows Features. [ ] I have run Windows 10 updates and restarted.
Pengwin Version
Find: Settings->Apps->Apps & features->Pengwin->Advanced Options->Version.
Insert here: 20.8.3.0
Windows Build
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here: 10.0.19041 N/D build 19041
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number
Could it possible that after installing the service does not start and that it's necessary to run sudo service mysql start?
sudo service mysql start
Probably but I will check to be sure
Describe the bug
After installing LAMP and running
mysql -u root -p
(empty password), I haveTo Reproduce
Simply open the shell and run
mysql -u root -p
Expected behavior
To be able to work with mysql/mariadb
Basic Troubleshooting Checklist
[x] I have searched Google for the error message. [x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [ ] I have reset Pengwin: Settings->Apps->Apps & features->Pengwin->Advanced Options->Reset. [ ] I have disabled and re-enabled WSL in Windows Features. [ ] I have run Windows 10 updates and restarted.
Pengwin Version
Find: Settings->Apps->Apps & features->Pengwin->Advanced Options->Version.
Insert here: 20.8.3.0
Windows Build
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here: 10.0.19041 N/D build 19041
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number