Cannot connect to MySQL server

2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Please make sure of the following: