Try running the 'myisamchk -r' command, which is designed to remove invalid rows in a MySQL table and restore its index file. The utility helps in checking and repairing damaged MySQL database tables.
After running the 'myisamchk' utility, run the Check Table command to check the MyISAM table for errors, if any. The syntax of the command is as follows:
CHECK TABLE tbl_name [, tbl_name] ... [option] … option = {FOR UPGRADE | QUICK | FAST | MEDIUM | EXTENDED | CHANGED}
If the problem still exists, you can repair the damaged MySQL database table by running the Restore Table command, as shown below:
REPAIR [NO_WRITE_TO_BINLOG | LOCAL] TABLE tbl_name [, tbl_name] ... [QUICK] [EXTENDED] [USE_FRM]
source share