Error in forum mysql

  • <<<<<<<<88238f0909bf03318b89dc1fd441a77fd9328a55<<<<

    Thu, 28 May 2020 03:05:47 +0000

    Message: Connecting to MySQL server 'localhost' failed:

    SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    File: /home/arkaneeq/forum.arkane2.eu/wcf/lib/system/database/MySQLDatabase.class.php (46)

    PHP version: 7.3.18

    WCF version: 2.1.24 pl 2 (Typhoon)

    Request URI: /

    Referrer:

    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

    Information: "<b>sql type:<\/b> wcf\\system\\database\\MySQLDatabase<br \/><b>sql error:<\/b> <br \/><b>sql error number:<\/b> 0<br \/><b>sql version:<\/b> unknown<br \/>"

    Stacktrace:

    #0 /home/arkaneeq/forum.arkane2.eu/wcf/lib/system/database/Database.class.php(107): wcf\system\database\MySQLDatabase->connect()

    #1 /home/arkaneeq/forum.arkane2.eu/wcf/lib/system/WCF.class.php(324): wcf\system\database\Database->__construct(...)

    #2 /home/arkaneeq/forum.arkane2.eu/wcf/lib/system/WCF.class.php(141): wcf\system\WCF->initDB()

    #3 /home/arkaneeq/forum.arkane2.eu/wcf/global.php(25): wcf\system\WCF->__construct()

    #4 /home/arkaneeq/forum.arkane2.eu/global.php(13): require_once('/home/arkaneeq/...')

    #5 /home/arkaneeq/forum.arkane2.eu/index.php(9): require_once('/home/arkaneeq/...')

    #6 {main}

    <<<<

  • Hello,


    There are three issues here:

    1. The software was unable to connect to MySQL, possibly the socket did not exist, check the database server.
    2. You're using PHP 7.3, but Burning Board 4.1 is so old, it only supports up to PHP 7.2, newer versions cause errors.
    3. Burning Board 4.1 is already end of life, there are no updates or security fixes provided for this version anymore. You should consider upgrading to a newer version.

    Alexander Ebert
    Senior Developer WoltLab® GmbH