Please beaware that Copying all content of C:\xampp\mysql\backup to the C:\xampp\mysql\data will fix the issue. But if you have existing db and WordPress installation then it will not open the website homepage properly. I will ask you an fresh WP installation and won't let you install the new one.
So replace it at your own risk.