Get mysql datafiles and restore on new system.
1:: Find Data Folder of mysql server
You can try this-in All programm=> MySql Server => open CMD
mysql> select @@datadir;
ex:: C:\ProgramData\MySQL\MySQL ser 5.1\Data\
Go over to the target computer, Open System Services.
(Type services.msc at the Windows menu “Search Program and files” entry box
On the right panel of the Services window, scroll along the list and look for the name “MYSQL“.
Select MYSQL and right mouse click and click . Once it has stopped, you will it’s status become blank instead of .
Similarly look for the location of the data folder. Once you located it,
I recommend you back up the folder or just rename it.
Paste over the folders and ibdata file you have copied from the source computer to the data folder.
Go back to the Services window and select back MYSQL.
Right mouse click on it and click to resume the MYSQL service.
Open MYSQL administrator and log on to your database
server and you should be able to see your transferred database together with their data.