create a new database with same name copy the .frm .ibd files into xampp/mysql/data/[databasename]/
you will need ibdata file as well which is found inside
xampp/mysql/data/ copy the previous ibdata1 file paste in the paste the file and replace it with the existing ibdata file
[caution: you may loose the contents of the database which are newly created in the new ibdata file]