![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
![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
![Linux安装mysql------Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2或111)_Danger-CSDN博客 Linux安装mysql------Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2或111)_Danger-CSDN博客](https://img-blog.csdnimg.cn/20191106141004705.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDM4NTQxOQ==,size_16,color_FFFFFF,t_70)
Linux安装mysql------Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2或111)_Danger-CSDN博客
![Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock' (2) in Linux Subsystem for Windows 10 | by Alef Duarte | Medium Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock' (2) in Linux Subsystem for Windows 10 | by Alef Duarte | Medium](https://miro.medium.com/max/1400/1*n0eMWHVghA2gb4PZkNsbtA.png)