Alex Waters
Alex Waters

Reputation: 4360

How can I get a database out of a Windows 7 MySQL Database stored on a backup hard drive?

I had a catastrophic drive failure on my development machine. Fortunately I have a backup of everything.

I just installed WAMP for the first time, and it seems to be working in windows 7 x64 (after the fresh install on a new drive). Now I need to get access to the databases I had stored on the backup drive..I don't have .sql dump files.

Does anyone know how I can get a database export from the MySQL folder I have on my backup drive?

Thanks!

Upvotes: 1

Views: 282

Answers (2)

Nikhil Mahajan
Nikhil Mahajan

Reputation: 523

Not sure wheteher this will work . Just replace the your mysql folder in wamp installation directory with yours. Remember to keep back up before replacing

Upvotes: 0

Kuba Wyrostek
Kuba Wyrostek

Reputation: 6221

A simple copy of files and folders located in MySQL data directory should do the trick (as long as MySQL versions are the same).

Upvotes: 1

Related Questions