title: How do I re-create a MySQL InnoDB table from an .ibd file?
body: <p>Assume that the following MySQL files have been restored from a backup tape:</p>
  
  <ul>
  <li><code>tablename.frm</code></li>
  <li><code>tablename.ibd</code></li>
  </ul>
  
  <p>Furthermore, assume that the MySQL installation was running with <code>innodb_file_per_table</code> and that the database was cleanly shutdown with <code>mysqladmin shutdown</code>.</p>
  
  <p>Given a fresh install of the same MySQL version that the restored MySQL files were taken from, how do I import the data <code>from tablename.ibd</code>/<code>tablename.frm</code> into this new install?</p>