![Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Stack Overflow Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Stack Overflow](https://i.stack.imgur.com/5KFc1.png)
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Stack Overflow
![Problem:: Can't connect to local MySQL server through socket '/var/run/ mysqld/mysqld.sock' (2) - Stack Overflow 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)
Problem:: Can't connect to local MySQL server through socket '/var/run/ mysqld/mysqld.sock' (2) - Stack Overflow
![MySQL - ERROR 2002 (HY000): Can't connect to local MySQL server through socket | BackTrack 5 - YouTube MySQL - ERROR 2002 (HY000): Can't connect to local MySQL server through socket | BackTrack 5 - YouTube](https://i.ytimg.com/vi/oXjJRrbKjp0/maxresdefault.jpg)
MySQL - ERROR 2002 (HY000): Can't connect to local MySQL server through socket | BackTrack 5 - YouTube
![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' - Stack Overflow ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' - Stack Overflow](https://i.stack.imgur.com/zNpcr.png)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' - Stack Overflow
![permissions - How to let MySQL (mysqld) to create and write to "/var/run/ mysqld" directory? - Ask Ubuntu permissions - How to let MySQL (mysqld) to create and write to "/var/run/ mysqld" directory? - Ask Ubuntu](https://i.stack.imgur.com/zQDuE.png)
permissions - How to let MySQL (mysqld) to create and write to "/var/run/ mysqld" directory? - Ask Ubuntu
![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var /run/mysqld/mysqld.sock' (2) | Welcome to Abdul Malik Ikhsan's Blog ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var /run/mysqld/mysqld.sock' (2) | Welcome to Abdul Malik Ikhsan's Blog](https://samsonasik.files.wordpress.com/2009/07/mysqlhandling.png?w=584)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var /run/mysqld/mysqld.sock' (2) | Welcome to Abdul Malik Ikhsan's Blog
![Solved: Can't connect to local MySQL server through socket '/var/lib/mysql/ mysql.sock' -Business Legions Blog Solved: Can't connect to local MySQL server through socket '/var/lib/mysql/ mysql.sock' -Business Legions Blog](https://www.businesslegions.com/blog/wp-content/uploads/2015/06/Cant-connect-to-local-MySQL-server-through-socket.png)
Solved: Can't connect to local MySQL server through socket '/var/lib/mysql/ mysql.sock' -Business Legions Blog
![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var /run/mysqld/mysqld.sock' - YouTube ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var /run/mysqld/mysqld.sock' - YouTube](https://i.ytimg.com/vi/qr-t8ksYO78/maxresdefault.jpg)