Jump to content

Recommended Posts

Posted

Hello,

I did everything to resolve the error "Database connection error (2): Could not connect to MySQL." based on this link.

Also I changed 'locahhost' to 127.0.0.1 and even deleted and imported my database again. But after all of my efforts, the error still remains. my username on heliohost: aikikai

Any help would be appreciated,

Thank you.

Guest Marko30
Posted

Hi, sorry for late reply!

 

Try changing cPanel password (check Synchronize MySQL password) and then log out and log in again. If you're still experiencing problems, please delete your database and database user and create them again with different name. After you have done all that, don't forget to edit config file.

Guest Marko30
Posted

Try changing from 127.0.0.1 to localhost again.

 

Also, please post your username and website address. Thanks.

  • Like 1
Posted

Is the database hosted on Johnny by chance (I know silly question, but we do have users who use Johnny's MySQL with a Stevie account).

Posted

Did you make sure the database user has the correct password? The database user's password should match the one in the configuration.php. Also, be sure to assign the user to your database in cpanel (many forget this step).

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...