Discuz! info: Can not connect to MySQL server

Time: 2018-11-17 2:32pm
Script: /viewthread.php

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

An error report has been dispatched to our administrator.