Discuz! info: Can not connect to MySQL server

Time: 2017-10-17 10:26pm
Script:

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