# migrate specific database
mysqldump -u root -proot -h192.168.91.100 --databases database_name | mysql
# migrate all database from the server
mysqldump -u root -proot -h192.168.91.100 --all-databases | mysql
Created
August 3, 2018 17:18
-
-
Save doniz/ac53b6dd0e503eec00094b5fa5f3e261 to your computer and use it in GitHub Desktop.
migrate mysql database from host to host
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment