Help

Discussion in 'Troubleshooting' started by jgkruse, Sep 10, 2010.

  1. jgkruse

    jgkruse New Member

    Joined:
    May 12, 2010
    Messages:
    3
    I am suddenly getting this same message: Script Error
    Cannot connect to MySQL: Access denied for user 'havis_jgkruse'@'localhost' (using password: YES).

    I never changed anything. How do i "double check MySQL connection settings?
  2. jgkruse

    jgkruse New Member

    Joined:
    May 12, 2010
    Messages:
    3
    I am suddenly getting this message:
    Script Error
    Cannot connect to MySQL: Access denied for user 'havis_jgkruse'@'localhost' (using password: YES).

    Everything was working fine and I never changed anything.

    Yesterday I put in an order for another company to install a PHP script that uses MySQL DB. Its for another domain though but it is a domain on the same hosting company.

    I set up a seperate DB that had the same username. Could that have caused this? I cant see how, because it is for a different domain and has a different DataBase with a different name (just the same username ... but different password).

    The first thing I did was to delete the new database to see if that was the cause (becasue the install request hasn't even gone through yet with the other company.)

    How do I fix this? How do i "double check MySQL connection settings?
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    There are a few things that could cause this:

    1) If you have a second MySQL server added, how are they defining which is localhost or not? Perhaps you have to specifically name your MySQL server now (ask your host to be sure). This would go in your aMember/config.inc.php file.

    2) Check your MySQL server to ensure that the user havis_jgkruse still exists and that it still has permission to access the database.

    3) Reset the password for your havis_jgkruse account (you can use the same password) to ensure that did not get changed somehow.
  4. jgkruse

    jgkruse New Member

    Joined:
    May 12, 2010
    Messages:
    3
    Thank you skippybosco !!!!!!!!!!

    I was starting to panic because of not hearing back through the help desk ... Thank God for the forum and for your advice!

    I was able to go into my hosting cpanel and delete and recreate my aMember database user, with the same password ... and it's all back online.

    Thankfully I didn't have to contact the host and try to rename "localhost" to something else.

    Thanks again!!!!

    John:):)

Share This Page