Discuz! info: Can not connect to MySQL server

Time: 2019-5-21 2:22am
Script: /index.php

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