MySQL series E-1------MySQL master-slave copy principle

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.