Repaire corrupted MyISAM tables

To repare the corrupted MyISAM tables, just cd to the directory that holds the MyISAM datafiles, then run this:

$ myisamchk -r -q table_name

If it doesn’t work, try this command,

$ myisamchk –safe-recover table_name

The above two commands can fix most of the problems of MyISAM tables.

Leave a Reply

Your email address will not be published. Required fields are marked *