Discuz! info: Can not connect to MySQL server

Time: 2017-1-23 6:31pm
Script: /index.php

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

Similar error report has beed dispatched to administrator before.