MySQL Forums
Forum List  »  Install & Repo

Re: Connect to an existing database on specific path
Posted by: Barry Galbraith
Date: June 19, 2016 01:05AM

That's not a good way to move a database from one machine to another. It's possible that some database objects for your database don't actually reside in that folder!
You should use mysqldump on the source machine to get a backup file, then use, mysql client on the target machine to restore the database to the new machine.

The data folder on the Win10 machine is set in the my.ini file.
Take a look at the refman for the folder layout on Win10.
http://dev.mysql.com/doc/refman/5.7/en/windows-installation-layout.html
The MySQL service properties will tell you where the my.ini file is.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Connect to an existing database on specific path
June 19, 2016 01:05AM


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.