Login to your DirectAdmin account.
In the
Account Managersection, click on theMySQL Managementicon or type “MySQL Management” in theNavigation Filterbox. The option will appear. Click on it.
Under “Database”, select the database. You can select multiple databases for repair.

Click on
Repair.
Your database will be repaired and it will display a report such as whether your database has been repaired or not, etc.