joomla- Database connection error (2): Could not connect to MySQL

Category: Joomla 3

smbrookes
Asked:
2013-11-05 5:07 pm EST

Hits: 2,767
I updated my password for my Joomla database to one that I could remember. I then got the above error message. I have followed your article in relation to this and have changed my configuration.php file to ensure that the correct username and password were included. It still does not work even though I copied and pasted the new username and password from the amended configuration.php file into the MySql database log in and it worked. This seems quite strange as it should now recognise the new details through the configuration file. I have also tried logging in from another computer but it still doesn't work. Is anyone able to advise please?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Arn
Staff
17,232 Points
2013-11-05 6:25 pm EST
Hello Smbrookes,

I took a look at your account, but since you did not specify the URL, I was unable to see a Joomla installation. I could see several WordPress sites as well as a few other types, but the Joomla database wasn't visible. If you are installing this on a different server, then give us a little detail on the issue. You can also reach the live technical support team who can privately check your database connection by email/chat/phone. If you do so, please provide your verification information by providing either the last 4 digits of your credit cart or the AMP password.

As per your reply, you mentioned that you were using one of our support articles to help you troubleshoot the problem. For reference, the MYSQL connection article is located here: Database Connection Error. If this is not the same article that you are using, then please review it for further help in determining your database connection issue.

Apologies for the delay in getting you a better answer. We just need a little more information in order to determine the issue.

Regards,
Arnel C.

You must login before you can post a comment about this answer.

Many thanks. However, I was able to recover my original config file and have replaced the data and my site is now working. I am appreciative of your speedy and helpful response. When my current hosting agreement expires I will certainly look at your products.
smbrookes
8 Points
2013-11-06 5:47 am EST
Like this Question?

Related Articles

Database connection error

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!