How to Repair a Broken Database
If you get the following error, it can easily be fixed from within cPanel.
How To Check Databases via MySQL Databases
Even with different kinds of errors such as "supplied argument is not a valid" or "table attribute does not exist," the following steps can be used with this built-in cPanel test to try fixing the issue.
- Log in to cPanel.
- Look for the Databases section, then click on the MySQL Databases icon.
- Under Modify Databases, select the database name you're having issues with from the Check Database dropdown menu.
- Click the Check Database button.
How To Repair Databases via MySQL Databases
The checking process should reveal the cause of the problem. If the problem is "marked as crashed," then proceed with the steps listed below.
- Go to the MySQL® Databases section.
- Under Modify Databases, select the database name you're having issues with from the Repair Database dropdown menu.
- Click the Repair Database button.
- Once done, reload your website.