title: Copied MySQL Database Files but Tables are not Showing in PhPMyAdmin
body: <p>I recently tried to restore a Wordpress site using backed up files. I put my faith in the Wordpress "export-all content" function that in fact exports very little.  </p>
  
  <p>I kept backups of the WAMP files and have read several posts that successfully copy the backed up database files into the new location and the database works fine:</p>
  
  <p><a href="https://stackoverflow.com/questions/22581605/reinstalled-wamp-wordpress-tables-not-found-but-are-in-phpmyadmin">Reinstalled WAMP, Wordpress Tables Not Found BUT Are in PHPMYADMIN</a></p>
  
  <p><a href="https://stackoverflow.com/questions/10934745/restore-the-mysql-database-from-frm-files">Restore the mysql database from .frm files</a></p>
  
  <p>The annoying thing is that these are not working for me. I have tried two things:</p>
  
  <ol>
  <li><p>Copied the database folder and the backed up ibfiles into the places. Once I do this and open PHP admin, the WP tables are listed but I get the error message that they do not exist. See the attached screenshot. 
  <img src="https://i.stack.imgur.com/TID1V.png" alt="screenshot of copied files and problem"></p></li>
  <li><p>I created a new database with the same name and did a fresh wordpress install which created empty tables. I then copied the backed up folder containing the .frm files into the newly created folder and replaced the ib files. The problem this time is that WAMP would not start and I was denied access to PHPMyAdmin. Error message 2002 actively refused.</p></li>
  </ol>
  
  <p>One thing I have noticed. In the backed up file the ibdata1 file had not been backed up since 13/08/14. Whereas the ib_logfile1 and iblogfile() were 29/03/2015 and 19/04/2015. Could it be possible that my backup program (WD Smartware) was not doing a sufficient job at backing up my files? If so am I wasting my time and should I just start rebuilding from scratch. </p>
  
  <p>Thanks for your help. </p>