Fatal MySql connection issue

Discussion in 'Troubleshooting' started by grahamlauriepublishingltd, Jul 30, 2010.

  1. grahamlauriepublishingltd

    grahamlauriepublishingltd New Member

    Joined:
    Jul 14, 2010
    Messages:
    1
    Hi,

    After moving to a new host, we are getting the following Fatal Error:

    Script Error
    Cannot connect to MySQL: Access denied for user 'ourdbusername'@'localhost' (using password: YES)

    What we're not sure about is why it is trying to use password YES when we have specified the correct password in config.inc.php. Any ideas?

    Any help would be appreciated!

    This is the link if you need it http://cash-master-racing.com/amember/
  2. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    Assuming the password in your config.inc.php file matches the one of 'ourdbusername' in mySQL, I suspect that 'ourdbusername' does not have the proper access rights.
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    on some host configurations the username starts with the account name.

    example: accountname_ourdbusername

    You can contact your host to know for sure
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It does not use password "YES" this error only tell that password was actually used when script tryed to connect. Double check MySQL connection settings.

Share This Page