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: Sat, 09 Nov 2024 04:31:32 +0000
request: /forum/index.php?page=User&s=a6dd4aa0cff8c014a80e199e0f49751399786bb7&userID=293
referer: https://the-open-forum.com/forum/index.php?page=User&s=a6dd4aa0cff8c014a80e199e0f49751399786bb7&userID=293

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}