I have uninstalled the old XAMPP and deleted all of the content of d:\\xampp folder
and installed the new one. When I copy my backup folder (with the name of my
I ran into the same problem. I had all my projects in mysql which I lost somehow.
mysql under my old xampp had got deleted/uninstalled somehow. I did not even have the data folder to copy to new xampp location.
I browsed through the folders and found mysql/data and mysql/backup in below location.
C:\xampp\perl\mysql\data
C:\xampp\perl\mysql\backup
This is what I did.
I copied both these folders in place of new xampp mysql/data and mysql/backup folders.
I also copied other files (not folders) under /mysql from old xampp to new xampp /mysql.
Stop new xampp mysql and apache servers if running. Restart.
Viola I got all the lost databases back.
Hope this helps.