MySQL connect error

  • CharlieM

    CharlieM - 2011-03-17

    I have moved my database onto another MySQL server and now I'm getting the error:-

    "You must configure your database connection in vars.php before using XRMS.
    Access denied for user \'xxxxxxxxxxxxxxx\'@\'xxxxxxxxxxxxxxx\' (using password: YES)"

    I have rechecked and rechecked and also stepped through the code in PhPED and I'm 100% certain the details in vars.php are correct. Using the same details in a test script, I am able to connect to the DB from the same server.

    Can any suggest what is going wrong? I'm at a complete loss.

  • - 2011-03-23

    Hi, Charile!

    Sorry for the late response!

    Did you confirm that you have the server name set correctly?

    Have you tried running this with

    $con->debug = TRUE;



Log in to post a comment.