If you're running software that suddenly stops working, one troubleshooting step you can take is repairing your database. Bear in mind that this is just one of many troubleshooting steps you can take, but if you've exhausted all other options, you can give this one a shot.

Repairing Databases within cPanel

  1. Log into cPanel
  2. Click "MySQL Databases"
  3. Under "Modify Databases", select your desired database from the drop down and click "Check DB"
  4. If any errors are shown, return to the previous screen and this time run the "Repair DB" option (instead of "Check DB")

check_repair_database

Repairing Databases within phpMyAdmin

You can also repair databases directly within phpMyAdmin. To do this:

  1. Log into cPanel
  2. Click "phpMyAdmin"
  3. Choose the desired database in the left menu
  4. Select all the tables listed by clicking "Check All" (see screenshot)
  5. From the drop down menu choose Repair Table

phpmyadmin_repair_database

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2014-09-21 7:06 am

I have been getting this error since 19 Sept when I try to access my Drupal dashboard. And your instructions did not resolve it. Is this related to the problem your mentioned (the time period matches) or is this an entirely different problem?ErrorThe website encountered an unexpected error. Please try again later.Error messagePDOException: SQLSTATE[HY000] [1045] Access denied for user '######'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of /home/####/includes/lock.inc).

Some of the personal details replaced with ####

Staff
16,266 Points
2014-09-22 3:12 pm
Hello Andrew,

The fix most definitely worked for the vast majority. Some databases may have individual issues. You may want to contact our Live Support department so they can assist with your individual account.

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.
}