Discuz! info: Can not connect to MySQL server

Time: 2016-6-27 10:11pm
Script: /bbs/index.php

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