In the process of implementing the mysql master-slave architecture, you can use the mysqldump method to build the master-slave. Mysqldump has generated GTID related information during the backup process, that is, these GTIDs can be skipped. For unskipped GTIDs, the IO thread will copy them to the slave server and be executed by the SQL thread. This article mainly demonstrates how mysqldump builds mysql master-slave in GTID mode. References for relevant knowledge points: Configuring MySQL GTID Master-slave replication Quickly build a slave database based on mysqldump Use mysqldump to export the database 1. How to add a slave database with GTID 1. If all the binlogs of the master are still there, after installing the slave, directly change the master to the master The principle is to directly obtain all gtid of the master and execute The advantage is simplicity The disadvantage is that if there are too many binlogs, it will take a long time to fully synchronize the data, and the master needs to enable GTID from the beginning. Summary: Applicable to situations where the master is newly created. 2
1. 8 recommended articles about gtid master-slave
##Introduction: In the process of implementing the mysql master-slave architecture, you can use the mysqldump method to build the master-slave. Mysqldump has generated GTID related information during the backup process, that is, these GTIDs can be skipped. For unskipped GTIDs, the IO thread will copy them to the slave server and be executed by the SQL thread. This article mainly demonstrates how mysqldump builds mysql master-slave in GTID mode. References for relevant knowledge points: Configure MySQL GTID master-slave replication based on mysqldump to quickly build the slave database using my...
2. Summary of the points to note about gtid master-slave
## Introduction: In the process of implementing the mysql master-slave architecture, you can use the mysqldump-based method to build the master-slave. Mysqldump has generated GTID related information during the backup process, that is, these GTIDs can be skipped. For unskipped GTIDs, the IO thread will copy them to the slave server and be executed by the SQL thread. This article mainly demonstrates how mysqldump builds mysql master-slave in GTID mode. References for relevant knowledge points: Configuring MySQL GTID Master-slave replication Quickly build a slave database based on mysqldump using my...
3.
Detailed tutorial on how to quickly build an svn server under Windows (Picture)
Introduction: This article mainly introduces the graphic tutorial for quickly setting up an svn server under Windows. , Friends in need can refer to
4.
[wordpress source code] 5 excellent wordpress template source code recommendations
Introduction: WordPress is the most widely used blogging system in the world and is an open source PHP software. Because there are so many users, the WordPress community is very active and has rich plug-in template resources. Using WordPress, you can quickly build independent blog websites, corporate websites, industry websites, etc. The following are 5 excellent WordPress template source codes recommended by the PHP Chinese website source code download site for you to download and use for free!
5.
Quickly build a TP-LINK telecom topology equipment panel based on HTML5 implementation method
##Introduction: Some people may be confused when they see addToDOM() here? That's right, this is HT's new API! Before we wanted to create a graphical interface, we not only needed to define the main top and left in the CSS style, but also needed to monitor the resize event of the window object, etc., so we added addToDOM() to help you do this series of things , you can take a look at the implementation in the source code:
6.
Use wordpress to quickly build a good-looking website (2)Introduction: In the previous article, we talked about the addition of basic elements, but articles and pages alone are not enough, because in this case the website will be more boring than a newspaper. For this reason, we have to add some elements to the website. Add some pictures and videos. So after writing an article, we can click Add Multimedia, and then prepare some pictures we want to upload. After clicking Multimedia, we can add or drag and drop the pictures prepared in advance. But sometimes pictures often fail to be uploaded successfully for the following reasons: the size is not sufficient, or the picture is too large and cannot be uploaded. It’s best to give the name in English 7. Use wordpress to quickly build a good-looking website (1) Introduction: First, download wordpress and a wamp (under windows). The function of wamp is to develop a dynamic website or a series of software required for a server. Integrated, so with wamp, you can create your own website on it. Start wamp and wait for the icon to turn green. If you want to write a website built on the wordpress platform, you need to download a wordpress. Download it from the wordpress.org website, then unzip it, and then put the unzipped 8. Detailed graphic and text explanation of how to quickly build a Vue.js development environment ##Introduction: This article mainly introduces the Vue.js development environment quick setup tutorial in detail, which has certain reference value. Interested friends can refer to it 9. Vue.js environment building tutorial introduction ##Introduction: This article mainly I have shared with you a super simple Vue.js environment building tutorial to help you quickly build a vue environment. It has certain reference value. Interested friends can refer to it 10. Detailed introduction to quickly setting up the php development environment under Linux (pictures and text) Introduction: XAMPP (Apache+MySQL+PHP+PERL) is a powerful website-building integrated software package. You can use XAMPP to quickly build a PHP development environment. Download link: https://www.apachefriends.org/download.html Enter the download interface and select XAMPP for Linux to download [Related Q&A recommendations]: The php development environment lnmp is so troublesome. How can I set it up quickly? Every time the system is reinstalled, I have to reinstall it again.apache - wampserver multi-version php switching failedjava - How to use springboot gradle to quickly build a helloworld?javascript - What is the "community" function built by LeanCloud used for?php development environment lnmp is so troublesome. How can I set it up quickly? Every time the system is reinstalled, I have to reinstall it again.
The above is the detailed content of Recommend 10 quick special effects (collection). For more information, please follow other related articles on the PHP Chinese website!