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 '/tmp/mysql5.sock' (2)
mysql error number: 2002
mysql version: unknown
php version: 5.4.45
Date: 24.01.2018 @ 06:22
Script: /editpost.php?postid=769545&sid=3669cb219ea7443ed22a9c09799568a7
Referer: