Before you begin
You will need:
Root access to the WHM interface
The specific database name that requires repair
Repairing a MySQL database
Log in to WHM.
Navigate to SQL Services > MySQL Database Repair.
Select the database you wish to repair from the list.
Click the Repair button next to the selected database.
Wait for the process to complete. The system will display a success message or a status update once the repair is finished.
Confirm the result
The database status will no longer indicate a "corrupt" or "error" state.
You will see a success message confirming the repair was completed.
If the repair fails or the database remains inaccessible
If the repair process fails or the database remains inaccessible after a successful repair message, the issue may be related to the underlying MySQL service or a severe level of corruption that requires a manual command-line repair.
Check the MySQL service status in WHM under Tools > Restart Service.
If the service is running but the database remains broken, contact Hostek support with the specific database name and the error message you are receiving.
Limitations
This tool is designed to fix common table corruption. If a database is severely corrupted or has been deleted, this tool cannot recover the lost data.
