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: 20.09.2019 @ 16:16
Script: /usercp.php?action=buddy&add=45&
Referer: