Using myisamchk :
- mysqladmin flush-tables
- mysqladmin shutdown
- run myisamchk :
myisamchk –silent –force –fast –update-state -O key_buffer=1024M -O sort_buffer=1024M -O read_buffer=10M -O write_buffer=10M *.MYI
+++++++++++++++++++++++++++++
Check the tables :
myisamchk /path/to/database_dir/*.MYI