xxxxxxxxxx
In my case, I did two things:
//make sure take the backup of all of folders name with the database you know for an example
//test,todo,schools etc // these name of my database
// but only database
moved xampp/mysql/backup files into xampp/mysql/data
RUN XAMPP as Administrator
It worked for me :)