MySQL Forums
Forum List  »  Newbie

Re: Copy Database
Posted by: Peter Brawley
Date: February 14, 2021 12:05PM

If you've added the bin folder of your MySQL installation to your system path, you can just open a cmd window and execute ...

mysqldump -uUSR -pPWD DBNAME -K -E -R >DBNAME.sql

where USR & PWD are your mysql login creds and DBNAME is the db name.

If not, you'll need to prepend the path to that folder.

For mre info, see the manual page for mysqldump.

Options: ReplyQuote


Subject
Written By
Posted
February 12, 2021 07:22AM
February 12, 2021 10:07AM
February 14, 2021 05:49AM
Re: Copy Database
February 14, 2021 12:05PM
February 15, 2021 06:59AM


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.