(Load Sharing) (MYSQL) database write multiple read experiment

Source: Internet
Author: User

Four virtual machines

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/99/77/wKioL1lIvNmjKJ7OAAMiAURuImg967.png "style=" float : none; "title=" 1.png "alt=" Wkiol1livnmjkj7oaamiauruimg967.png "/>

Master and slave Configuration please check the previous MySQL read-write separation reference document, here no longer repeat.

Detailed description of the amoeba configuration file writing:

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/99/77/wKioL1lIvN3QAj0rAARAcDIYnZM074.png "style=" float : none; "title=" 2.png "alt=" Wkiol1livn3qaj0raaracdiynzm074.png "/>

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/99/77/wKiom1lIvOLA_0RjAASN9nzudnk153.png "style=" float : none; "title=" 3.png "alt=" Wkiom1livola_0rjaasn9nzudnk153.png "/>

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/99/77/wKioL1lIvOXBXGvIAARYyCa_4gw442.png "style=" float : none; "title=" 4.png "alt=" Wkiol1livoxbxgviaaryyca_4gw442.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/99/77/wKiom1lIvOnQ2xp3AAQf75vE1Yo958.png "style=" float : none; "title=" 5.png "alt=" Wkiom1livonq2xp3aaqf75ve1yo958.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/99/77/wKioL1lIvOqCRJFIAAFPIu5fz70677.png "style=" float : none; "title=" 6.png "alt=" Wkiol1livoqcrjfiaafpiu5fz70677.png "/>

During the experiment, in order to test the internal running process of the service, the slave server shuts down, and then when slave is turned on, it will find Slave_sql_running:no

At this time need to/var/lib/mysql/master.info certification information file deleted, re-master to certification, and then open slave can!


This article is from the "Journey of Operations" blog, please be sure to keep this source http://ahscwy.blog.51cto.com/9853317/1940185

(Load Sharing) (MYSQL) database write multiple read experiment

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.