Created
September 19, 2013 13:15
-
-
Save kacinskas/6623323 to your computer and use it in GitHub Desktop.
MySQL duplicate db
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE duplicateddb; | |
mysqldump -h host -u admin -p originaldb | mysql -h host -u backup -ppassword duplicateddb; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment