If you get the following error, it can easily be fixed from within cPanel:
Checking the Database
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 into cPanel and navigate to the Databases section.
- Click on the MySQL Databases icon.
- Under Modify Databases, look for the drop-down menu called Check DB.
- Select the database name which is having trouble.
- Click the Check DB button.
Repairing the Database
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 back to MySQL Databases.
- Under Modify Databases, look for the drop-down called Repair DB.
- Select the database name which is having trouble.
- Click the Repair DB button.
- Once complete, reload your web site.