title: Restore MySQL database using only .frm and .ibd files
body: <p>I accidentally uninstalled my XAMPP and MySQL with InnoDB. How can I restore the files without having previously exported the database?</p>
  
  <p>For some reason it didn't work just copying the old database files into the new database data directory.</p>
  
  <p>I'm throwing this one out there for those in need, since it took me hours to fix, and it's quite easy once you know how. No cryptic SQL import commands or advanced shell commands are necessary.</p>