Mysql info: Can not connect to MySQL server

Time: 2015-4-2 6:30am
Script:

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