![Fixing can't connect to local MySQL server through socket error in Ubuntu 20.04 while installing MySQL 8 - Init Pals Fixing can't connect to local MySQL server through socket error in Ubuntu 20.04 while installing MySQL 8 - Init Pals](https://www.initpals.com/wp-content/uploads/2022/01/mysql_sock_location.jpg)
Fixing can't connect to local MySQL server through socket error in Ubuntu 20.04 while installing MySQL 8 - Init Pals
![ubuntu - Problem:: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow ubuntu - Problem:: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow](https://i.stack.imgur.com/IKxCW.png)
ubuntu - Problem:: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow
![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum](https://global.discourse-cdn.com/gitlab/optimized/3X/a/c/ac0ea58ffbfd15ac159ef1bb02198c7b60e83982_2_690x373.png)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum
![Changing the MySQL root User from auth_socket to Password Authentication Using Ansible - DEV Community Changing the MySQL root User from auth_socket to Password Authentication Using Ansible - DEV Community](https://dev.to/social_previews/article/83810.png)
Changing the MySQL root User from auth_socket to Password Authentication Using Ansible - DEV Community
![Can't Connect To Local MySQL Server Through Socket '/Var/Run/Mysqld/Mysqld.Sock' (2)” on Docker ? | by Fiko Borizqy | Medium Can't Connect To Local MySQL Server Through Socket '/Var/Run/Mysqld/Mysqld.Sock' (2)” on Docker ? | by Fiko Borizqy | Medium](https://miro.medium.com/v2/resize:fit:665/0*PNS95wfcK9sJnR8S.png)
Can't Connect To Local MySQL Server Through Socket '/Var/Run/Mysqld/Mysqld.Sock' (2)” on Docker ? | by Fiko Borizqy | Medium
![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum](https://global.discourse-cdn.com/gitlab/original/3X/a/c/ac0ea58ffbfd15ac159ef1bb02198c7b60e83982.png)