Database Connection error (2) : Could not connect to MySQL – How I Solved It

Last week, a friend notified me that he couldn’t access my bulk sms site powered by Joomla. I tried accessing it by myself and I was also unable access it. The site was only displaying a page that reads ‘Database connection error (2): Could not connect to MySQL.’

I googled the problem and saw alot of recommendations including changing the database user and password and editing it in the configuration.php.

Instead, I decided to contact my host. They requested for my cPanel login details. After some minutes, the problem was resolved and my bulk sms site was restored. When I asked them what went wrong, I was told it was caused by a problem with the MySQL server. .

So, if you experience such problem, try to talk to your host before making changes to your config file.

Have you experienced same? How were you able to resolve it?

Spread the love :

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • We can help you buy items from Amazon USA and ship to NigeriaMore Info
  • Do you want to ask some questions?Click Here
  • You Can Use Your Phone To Post Ad OnlineLearn More

How To Detect Hidden Camera With Mobile Phone and Camera Detectors

Awesome Sidebar Feedburner Email Subscription Form For Blogger and WordPress Blogs