Last active
May 25, 2021 10:45
-
-
Save ambercouch/52950a227db7911f3921c70d52bde3c0 to your computer and use it in GitHub Desktop.
Mysql copy database
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
sudo mysqldump -u root --password=<pwd> <original db> | sudo mysql -u root --password=<pwd> <new db> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment