How do I re-create a MySQL InnoDB table from an .ibd file?
Posted
by knorv
on Stack Overflow
See other posts from Stack Overflow
or by knorv
Published on 2010-04-08T08:48:09Z
Indexed on
2010/04/08
8:53 UTC
Read the original article
Hit count: 280
Assume that the following MySQL files have been restored from a backup tape:
tablename.frmtablename.ibd
Furthermore, assume that the MySQL installation was running with innodb_file_per_table and that the database was cleanly shutdown with mysqladmin shutdown.
Given a fresh install of the same MySQL version that the restored MySQL files were taken from, how do I import the data from tablename.ibd/tablename.frm into this new install?
© Stack Overflow or respective owner