You get more information about the problem in our knowledge base: http://www.woltlab.com/help/?code=2002
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/run/mysqld/mysqld.sock' (2)
sql error number: 2002
sql version:
file: /srv/vhosts/world-of-paranoid.com/htdocs/forum/wcf/lib/system/database/MySQLDatabase.class.php (29)
php version: 5.6.17-0+deb8u1
wcf version: 1.0.10 (Horizon)
date: Tue, 27 Aug 2024 14:58:42 +0000
request: /forum/index.php?page=User&s=14a2fdee8d28d7112ebbbb032ce74416e7a0b741&userID=25553
referer:
#0 /srv/vhosts/world-of-paranoid.com/htdocs/forum/wcf/lib/system/database/Database.class.php(76): MySQLDatabase->connect() #1 /srv/vhosts/world-of-paranoid.com/htdocs/forum/wcf/lib/system/WCF.class.php(271): Database->__construct(...) #2 /srv/vhosts/world-of-paranoid.com/htdocs/forum/wcf/lib/system/WCF.class.php(88): WCF->initDB() #3 /srv/vhosts/world-of-paranoid.com/htdocs/forum/global.php(19): WCF->__construct() #4 /srv/vhosts/world-of-paranoid.com/htdocs/forum/index.php(1404): require_once('/srv/vhosts/wor...') #5 {main}