![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
![Docker on Ubuntu 22.10: running mysql:8.0.34-debian with custom config, socket, database and log files reside on host machine. - DEV Community Docker on Ubuntu 22.10: running mysql:8.0.34-debian with custom config, socket, database and log files reside on host machine. - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--ypV95Wqq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://behainguyen.files.wordpress.com/2023/09/084-01-1.png)
Docker on Ubuntu 22.10: running mysql:8.0.34-debian with custom config, socket, database and log files reside on host machine. - DEV Community
![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
![Wp db reset -- Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2) - Bugs - Local Community Wp db reset -- Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2) - Bugs - Local Community](https://global.discourse-cdn.com/business5/uploads/lwpforums/original/2X/6/6630158b38b13b46bec6a8be2f93db4835c86a5c.jpeg)
Wp db reset -- Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2) - Bugs - Local Community
![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
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' · Issue #52 · TablePlus/DBngin · GitHub
![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
![Launch mySQL server Login with user/passwd Cp /etc/my.cnf ~/. Change my.cnf [mysqld_safe] datadir=/home/externals/sc10008/data socket =/home/externals/sc10008/mysql.sock. - ppt download Launch mySQL server Login with user/passwd Cp /etc/my.cnf ~/. Change my.cnf [mysqld_safe] datadir=/home/externals/sc10008/data socket =/home/externals/sc10008/mysql.sock. - ppt download](https://images.slideplayer.com/27/9174329/slides/slide_2.jpg)
Launch mySQL server Login with user/passwd Cp /etc/my.cnf ~/. Change my.cnf [mysqld_safe] datadir=/home/externals/sc10008/data socket =/home/externals/sc10008/mysql.sock. - ppt download
![Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Database Administrators Stack Exchange Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Database Administrators Stack Exchange](https://i.stack.imgur.com/3HqlK.png)
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. sock' (2) - Database Administrators Stack Exchange
![ERROR 2002 (HY000): Can't connect to local MySQL srever through socket '/var/lib/mysql/mysql.sock' - YouTube ERROR 2002 (HY000): Can't connect to local MySQL srever through socket '/var/lib/mysql/mysql.sock' - YouTube](https://i.ytimg.com/vi/saQP9NjGQBI/mqdefault.jpg)
ERROR 2002 (HY000): Can't connect to local MySQL srever through socket '/var/lib/mysql/mysql.sock' - YouTube
![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)