Discuz! info: Can not connect to MySQL server

Time: 2021-3-2 7:41pm
Script: /viewthread.php

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

Similar error report has beed dispatched to administrator before.