You get more information about the problem in our knowledge base: http://www.woltlab.com/help/?code=2002
Information:
error message: Connecting to MySQL server 'localhost' failed.
error code: 2002
sql type: MySQLDatabase
sql error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
sql error number: 2002
sql version:
file: /var/www/html/web-docs/files/lib/system/database/MySQLDatabase.class.php (31)
php version: 5.3.3
wcf version: 1.1.10 pl 1 (Tempest)
date: Mon, 16 Jan 2017 19:26:26 +0000
request: /index.php?page=PMList
referer: http://www.tacticalforum.de/index.php
Stacktrace:
#0 /var/www/html/web-docs/files/lib/system/database/Database.class.php(78): MySQLDatabase->connect()
#1 /var/www/html/web-docs/files/lib/system/WCF.class.php(296): Database->__construct(...)
#2 /var/www/html/web-docs/files/lib/system/WCF.class.php(95): WCF->initDB()
#3 /var/www/html/web-docs/global.php(18): WCF->__construct()
#4 /var/www/html/web-docs/index.php(7): require_once('/var/www/html/w...')
#5 {main}