Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) malik@abdulma code example
Example: how to connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
#/usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock