Enable MyISAM Auto-Repair
MyISAM can be configured to check and repair its tables automatically. By enabling the MyISAM auto repair you let the server check each MyISAM table when it is opened. It checks if the table was closed properly when it was last used, also checks if it needs any repair, if required it repairs the table.
To enable auto check and repair,you can start the server with –myisam-recover with following options.
DEFAULT for the default checking.
BACKUP tells the server to make a backup of any table that it must change.
FORCE causes table recovery to be performed even if it would cause …[Read more...]