Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

MySQL connect error

Help
CharlieM
2011-03-17
2013-04-26
  • 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.

     
  • 360team.ca
    360team.ca
    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;
    

    Cheers,
    Ivaylo