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

  1. Log in to cPanel and open Databases > Manage My Databases. Older versions call this MySQL Databases.
  2. Under Modify Databases, choose the affected database from Check Database and run the check.
  3. Review the results and any named damaged tables.
  4. 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.
  5. 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.