Find out where your current sock file is...
locate mysql.sock
...then symlink it to the one it is trying to find.
ls -s /whereever/mysql.sock /var/lib/mysql/mysql.sock
Also look in /etc/my.cnf to see where mysql is looking for the sock.
Its probably in /tmp
locate mysql.sock
...then symlink it to the one it is trying to find.
ls -s /whereever/mysql.sock /var/lib/mysql/mysql.sock
Also look in /etc/my.cnf to see where mysql is looking for the sock.
Its probably in /tmp