cPanel can check a database and attempt repairs supported by its table engines. This can help with certain damaged MyISAM tables, but it does not provide a universal repair for every MySQL or MariaDB problem.
Check the problem first
Record the application error and affected database. A connection error may concern credentials or permissions rather than corruption. Preserve a suitable recovery backup before attempting changes and arrange for the site to be quiet during repair.
Check and repair through cPanel
- Log in to cPanel and open Databases > Manage My Databases. Older versions call this MySQL Databases.
- Under Modify Databases, choose the affected database from Check Database and run the check.
- Review the results and any named damaged tables.
- If the reported problem is suitable for this repair method, return to Modify Databases, select the same database under Repair Database and run the repair.
- Read the result, including any unsupported-engine or failure messages.
Verify or escalate
Test the application’s data and normal operations after a successful repair. If errors remain, provide the exact messages to the hosting provider.
Standard table repair does not fix InnoDB corruption. Do not repeatedly retry it or remove database files; use an engine-specific recovery or a verified backup with administrator assistance.