Backup localhost (wamp) database (phpmyadmin) from harddrive files on windows? For WordPress?

Don’t know if it’s the best way but her is a very simple way to do it:

  1. Install a new copy of WAMP.
  2. Copy the files from the old HD to you newly installed wamp
    \bin\mysql\mysql...\data folder.
  3. Log in to phpmyadmin (that comes with WAMP) and create a dump of
    the database