Discuz! info: Can not connect to MySQL server

Time: 2019-10-20 4:30am
Script: /discuz/redirect.php

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