I was able to recover the database folder of MySQL server 5.5 of the corrupted operating system (Windows XP) at
C:\\Documents and Settings\\All Users\\Applica
I too faced the same problem and spent almost two to three days in solving the issue. I was fed up with all the other confusing answers I have seen. Finally, I have retrieved all my data from my old drive and can now successfully access it in my new Microsoft Server installation.
This might help someone else.
Problems faced:
Finding database files in the old hard disk:
Answer: Follow the instructions given in this link:
https://www.quora.com/Where-is-the-database-stored-in-the-Microsoft-SQL-server/answer/Allu-Saiprudhvi?prompt_topic_bio=1
If you can't open the folders in the old hard disk("The request could not be performed because of an I/O device error message"):
Answer: Change the corresponding disk name. follow the instructions given in this link "follow the instructions given in this link"
After getting database folders, first download the same version of Mysql server as in the old hard drive , you can check the version mentioned with the folder name itself.
After downloading the same version, paste the database folders in the data folder as shown in the instruction 1 above.
Stop and start the Mysql server in services:
Answer: To know how to restart a mysql server follow the instruction given in the link:
https://www.quora.com/How-do-I-start-the-MySQL-server-in-Windows-10/answer/Allu-Saiprudhvi?prompt_topic_bio=1
Now you can check it, this should successfully make the data inside database accessible using SQL server.
THANK YOU