When recovering a MyISAM table the only file that is strictly needed is the data file (tablename.MYD
) - the rest of the files (the index file tablename.MYI
and tablename.frm
) can be recreated from the data file using REPAIR TABLE
.
Assume I'm using InnoDB (with the "innodb_file_per_table
" setting) instead - what is the minimum set of files needed to recover a database table from file?