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: 23.08.2019 @ 04:09
Script: /usercp.php?action=buddy&add=4569
Referer: