I have the mysql
table called Sample. I have edited the file /var/lib/mysql/Sample.MYI
with some values. Now check TABLE Sample query shows as
Incorrect key file for table 'Sample'; try to repair it
To repair this, i have tried using the following command myisamchk -r Sample.MYI
. but the result is "myisamchk:
error: Got error 140 when trying to recreate indexfile MyISAM-table
Sample.MYI
is not fixed because of errors".
Now how to repair this table ?