Master-slave replication is asynchronous and can be used by one of Google's plugins to achieve semi-synchronous
e.1 Master-slave replication principle
650) this.width=650; "style=" WIDTH:700PX;HEIGHT:427PX; "src=" http://s3.51cto.com/wyfs02/M00/6F/98/wKiom1WiW_ Kcl57iaansk_nuqhm000.jpg "title=" 3.png "height=" 427 "hspace=" 0 "border=" 0 "vspace=" 0 "width=" alt= "Wkiom1wiw_ Kcl57iaansk_nuqhm000.jpg "/>
1 , establish a master-slave replication user name and password
2 , the Library "lock Library" where the master library needs to be replicated
3 , mysqldump Backup master on master, "unlock", restore on slave side
4 , change the configuration file
5 , perform change master to on the Plex library
6 , turn on replication
This article is from the "Technical Bo" blog, please be sure to keep this source http://hostman.blog.51cto.com/6303208/1673502
MySQL series E-1------MySQL master-slave copy principle