Solved

Copy mysql database files to different server

Posted on 2011-02-21
6
471 Views
Last Modified: 2012-05-11
Hi,

I was using Ubuntu as my test server and for some reason it will not start again. Anyway I am still able to read all the files through another partition installed with Ubuntu. I need to copy my mysql databases but so far I have not been able. I have tried copying the .frm, myd and myi files from folder /var/bin/mysql in the corrupted partition to the same folder in the newly installed partition. The thing is that I cannot access the database from mysql server. What else do I need to/can do?
0
Comment
Question by:degaray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 
LVL 4

Author Comment

by:degaray
ID: 34947875
anyone?
0
 
LVL 4

Accepted Solution

by:
degaray earned 500 total points
ID: 34948220
I got it! It was a matter of file permissions. I just copied all the files and gave mysql user permissions to them. Done!
0
 
LVL 21
ID: 34948720
Great job!

Thank you for sharing your solution. I am sure many will benefit. I know I did.
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 4

Author Comment

by:degaray
ID: 35098772
Can you cancel the question please?
0
 
LVL 4

Author Comment

by:degaray
ID: 35098816
TheHiTechCoach I cannot ask other questions, may I ask you to cancel your comment? I requested that my question be taken as the best answer, but now I have to wait and I need to make another question.
0
 
LVL 4

Author Comment

by:degaray
ID: 35098821
test
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question