We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37019
    • 2 Posts
    Hi,
    I'm new to MODx Rev. Installed Xampp 1.7.4 & modx-2.1.3 on a USB drive. Running it off a Vista OS laptop for the localhost.

    Stuck at installation process, cannot get past this test database connection failure, see below. Note: error msg is displayed 2x. Checked password is same for creating database 'modxtester1' under Xampp phpmyadmin and when installing MODx but no help, even when tested with new password.

    Any help/advice to overcome this issue will be great.

    Connecting to database server:
    Could not connect to the database server. Check the connection properties and try again.

    [2011-09-20 07:45:36] (ERROR in xPDO::connect @ F:\xampp\htdocs\learningMODx\modx-2.1.3-pl\core\xpdo\xpdo.class.php : 344) SQLSTATE[28000] [1045] Access denied for user 'modxtester1'@'localhost' (using password: YES)

    [2011-09-20 07:45:36] (ERROR in xPDO::connect @ F:\xampp\htdocs\learningMODx\modx-2.1.3-pl\core\xpdo\xpdo.class.php : 344) SQLSTATE[28000] [1045] Access denied for user 'modxtester1'@'localhost' (using password: YES)
      • 3749
      • 24,544 Posts
      Make sure the database user has full rights to the DB. I don't know of any way this can happen unless the username and/or password are incorrect or the DB itself is corrupted or misconfigured.

      Do you have any unusual characters in your password?
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 37019
        • 2 Posts
        Thanks for replying, BobRay.

        Found out what caused the problem, a really 101 mistake. Misconfigured database host during installation - default to 'any host'. Installation completed smoothly after re-selecting 'localhost'.