ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) error message typically occurs when a MySQL client is trying to connect to a MySQL server using a Unix socket file and is unable to establish the