We help IT Professionals succeed at work.
Get Started

Move MySQL database to new server

tobygiddens
tobygiddens asked
on
479 Views
Last Modified: 2012-05-12
We had a power outage and when the power was restored the MySQL service would not start.  After numerous attempts to uninstall/reinstall MySQL without success we installed MySQL on a new server.  We have a file back up of all the .frm files but I am not sure how to attach them on the new MySQL server.  I put the DBs in the data directory on the new server and they show up in WorkBench but when you click to open the tables it says it does't exist.  

Attached are two screen shots:
1. DB Overview
2. Output from clicking on one of the tables.

My question is:  How do I move the MySQL databases to a new server?  Please note I am very new with MySQL so detailed directions are much appreciated.  

Windows 2003 R2
MySQL 5.1.47
Workbench 5.2.35.1
Install Dir: C:\Program Files\MySQL
Data Dir: C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data

Thank You!
 Overview in WorkBench Output of the attempt to query tables
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE