copy/move all databases from one server to another mysql -


currently have test server 'x' has many databases data in it.i want copy data server ie 'y'.both on same mysql version.i read posts regarding same.i know how create sql file , run it.but there other quick way without creating sql files databases.should use replication?is replication applicable in scenario because there no master/slave configratn here.

you can use below 2 approaches-

master/slave: less downtime hardly 1 10 minutes. slave catch master can migrate site/app new server.

binary copy: can copy binary files mysql data directory , move new server data directory. take time copy , move date 1 server server.

note: before binary copy need take full dump backup in case of issue not loosing data.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -