Fatal error: Connecting to MySQL server 'localhost' failed.

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: No such file or directory
sql error number: 2002
sql version:
file: /var/www/vhosts/h213934.web20.alfahosting-server.de/html/wcf/lib/system/database/MySQLDatabase.class.php (29)
php version: 5.3.29
wcf version: 1.0.11 pl 4 (Horizon)
date: Mon, 13 May 2024 14:46:20 +0000
request: /index.php?page=Thread&threadID=37376&action=lastPost&s=21f8e200e6ffd56aa690b59d57f2b880262e5196
referer: http://www.viragoforum.de/index.php?page=Thread&threadID=37376&action=lastPost&s=21f8e200e6ffd56aa690b59d57f2b880262e5196

Stacktrace:

#0 /var/www/vhosts/h213934.web20.alfahosting-server.de/html/wcf/lib/system/database/Database.class.php(76): MySQLDatabase->connect()
#1 /var/www/vhosts/h213934.web20.alfahosting-server.de/html/wcf/lib/system/WCF.class.php(270): Database->__construct(...)
#2 /var/www/vhosts/h213934.web20.alfahosting-server.de/html/wcf/lib/system/WCF.class.php(88): WCF->initDB()
#3 /var/www/vhosts/h213934.web20.alfahosting-server.de/html/global.php(18): WCF->__construct()
#4 /var/www/vhosts/h213934.web20.alfahosting-server.de/html/index.php(7): require_once('/var/www/vhosts...')
#5 {main}