Resolution
First of all make sure that mysql is running with:
ps ax | grep mysql | grep -v grep
4081 pts/8 S 0:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
4110 pts/8 S 0:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking If it is so, try to create a link from the
/tmp/mysql.sock:ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock