I have a hard drive that will not boot that has wamp server installed on it. I can still access the hard drive files(barely), but need to find out how to transfer the MySQL databases to a new computer. Anyone know where these are saved?
Asked
Active
Viewed 739 times
1
-
I copied this file over to the new install, and it copies the database, but not the table data within....? – Steven Jun 01 '15 at 20:32
1 Answers
2
To find the data from your MySQL database on your harddrive, follow these steps:
- Locate the
my.ini
file in your MySQL installation directory. Find the line that states
datadir
.For example:
datadir="C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/"
- This directory contains the data you are looking for.

TimoStaudinger
- 41,396
- 16
- 88
- 94
-
I got the databases to import, but the data within(column/row information and data) did not – Steven Jun 01 '15 at 20:32