![ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'” Error and Solution – POFTUT ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'” Error and Solution – POFTUT](https://www.poftut.com/wp-content/uploads/2018/02/img_5a8293f585aaf.png)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'” Error and Solution – POFTUT
![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
![Need to Connect to a Local MySQL Server? Use Unix Domain Socket! - Percona Database Performance Blog Need to Connect to a Local MySQL Server? Use Unix Domain Socket! - Percona Database Performance Blog](https://www.percona.com/blog/wp-content/uploads/2020/04/Unix-Socket-Domain.png)
Need to Connect to a Local MySQL Server? Use Unix Domain Socket! - Percona Database Performance Blog
![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/MysqldProcessDump-1.png)
Solved] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | Starting a new Journey
![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)