Jump to content

Database Connection Error


Recommended Posts

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.

Link to comment
Share on other sites

Guest Marko30

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...