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: 24.08.2019 @ 15:13
Script: /usercp.php?action=buddy&add=4307
Referer: