![How To Fix "Can't connect to local MySQL server through socket '/var/lib/ mysql/mysql.sock' (2)" Error? | Unixmen How To Fix "Can't connect to local MySQL server through socket '/var/lib/ mysql/mysql.sock' (2)" Error? | Unixmen](http://www.unixmen.com/wp-content/uploads/2014/03/Cant-connect-to-local-MySQL-server-through-socket.png)
How To Fix "Can't connect to local MySQL server through socket '/var/lib/ mysql/mysql.sock' (2)" Error? | Unixmen
![linux - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow en español linux - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow en español](https://i.stack.imgur.com/GDwLh.png)
linux - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - Stack Overflow en español
![migration - Mariadb running but mysql.sock is on different directory - Database Administrators Stack Exchange migration - Mariadb running but mysql.sock is on different directory - Database Administrators Stack Exchange](https://i.stack.imgur.com/kryGx.png)
migration - Mariadb running but mysql.sock is on different directory - Database Administrators Stack Exchange
![Solved] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | Starting a new Journey Solved] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | Starting a new Journey](https://www.samundra.com.np/wp-content/uploads/2017/11/Symbolic-Link-socket.png)
Solved] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | Starting a new Journey
![macos - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2) - XAMPP Mac OSX - Stack Overflow macos - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2) - XAMPP Mac OSX - Stack Overflow](https://i.stack.imgur.com/ObcSu.png)
macos - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2) - XAMPP Mac OSX - Stack Overflow
![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
![Fix can't connect to local MySQL server through socket '/var/lib/mysql/mysql .sock' (111) on CentOS 7 - LCDUNG Fix can't connect to local MySQL server through socket '/var/lib/mysql/mysql .sock' (111) on CentOS 7 - LCDUNG](https://lcdung.top/wp-content/uploads/2019/01/editing-your-code.png)
Fix can't connect to local MySQL server through socket '/var/lib/mysql/mysql .sock' (111) on CentOS 7 - LCDUNG
![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_1024x554.png)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) - GitLab CI/CD - GitLab Forum
![ERROR2002(HY000):Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'(2) - YouTube ERROR2002(HY000):Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'(2) - YouTube](https://i.ytimg.com/vi/db-T48crTSE/maxresdefault.jpg)