myisamchk

How To Repair Corrupted MySQL Tables Using myisamchk

by Ramesh Natarajan on September 1, 2008

MySQL Application LogoMyISAM is the default storage engine for MySQL database. MyISAM table gets corrupted very easily. In this article, I’ll explain how to use myisamchk to identify and fix table corruption in MyISAM. When a table is created under MySQL, it creates three different files: *.frm file to store table format, *.MYD (MyData) file to store the data, and *.MYI (MyIndex) to store the index. I prefer to use InnoDB as the storage engine for bigger database, as it resembles Oracle and provides commit, rollback options.
(more…)

{ 7 comments }