MySQL Forums
Forum List  »  Newbie

Re: Moving MySQL database to a new computer
Posted by: Peter Brawley
Date: April 04, 2015 10:13AM

> Is it as easy as copying the contents of C:\ProgramData\MySQL\MySQL Server 5.6\ to the new machine?

No, that's fraught with error risks.

The only failsafe method is mysqldump the 1st db to a file, and read that sql fle into the 2nd installation. See the manual page for mysqldump.

Options: ReplyQuote


Subject
Written By
Posted
Re: Moving MySQL database to a new computer
April 04, 2015 10:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.