SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Link-ID == false, connect failed
mysql error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql error number: 2002
mysql version: unknown
php version: 4.4.9
Date: 26.08.2019 @ 02:12
Script: /usercp.php?action=buddy&add=8318
Referer: