Discuz! info: Can not connect to MySQL server

Time: 2019-1-20 12:29am
Script: /plugin.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.