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 connection could be made because the target machine actively refused it.
sql error number: 2002
sql version:
file: C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\wcf\lib\system\database\MySQLDatabase.class.php (29)
php version: 5.6.40
wcf version: 1.0.10 (Horizon)
date: Mon, 29 Apr 2024 03:36:42 +0000
request: /forum/index.php?page=Thread&threadID=518&action=lastPost&s=6e60bc698a23a1df19e05e1ff77ee9c3c3806780
referer:

Stacktrace:

#0 C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\wcf\lib\system\database\Database.class.php(76): MySQLDatabase->connect()
#1 C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\wcf\lib\system\WCF.class.php(270): Database->__construct(...)
#2 C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\wcf\lib\system\WCF.class.php(88): WCF->initDB()
#3 C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\global.php(18): WCF->__construct()
#4 C:\inetpub\vhosts\the-open-forum.com\httpdocs\forum\index.php(7): require_once('C:\\inetpub\\vhos...')
#5 {main}