Documentation Home
MySQL Replication
Related Documentation Download this Excerpt
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb
HTML Download (TGZ) - 362.2Kb
HTML Download (Zip) - 376.5Kb


MySQL Replication  /  Configuring Replication

Chapter 2 Configuring Replication

Table of Contents

2.1 Binary Log File Position Based Replication Configuration Overview
2.2 Setting Up Binary Log File Position Based Replication
2.2.1 Setting the Replication Master Configuration
2.2.2 Creating a User for Replication
2.2.3 Obtaining the Replication Master Binary Log Coordinates
2.2.4 Choosing a Method for Data Snapshots
2.2.5 Setting Up Replication Slaves
2.2.6 Adding Slaves to a Replication Environment
2.3 Replication with Global Transaction Identifiers
2.3.1 GTID Format and Storage
2.3.2 GTID Life Cycle
2.3.3 GTID Auto-Positioning
2.3.4 Setting Up Replication Using GTIDs
2.3.5 Using GTIDs for Failover and Scaleout
2.3.6 Restrictions on Replication with GTIDs
2.3.7 Stored Function Examples to Manipulate GTIDs
2.4 MySQL Multi-Source Replication
2.4.1 Configuring Multi-Source Replication
2.4.2 Provisioning a Multi-Source Replication Slave for GTID-Based Replication
2.4.3 Adding GTID-Based Masters to a Multi-Source Replication Slave
2.4.4 Adding a Binary Log Based Master to a Multi-Source Replication Slave
2.4.5 Starting Multi-Source Replication Slaves
2.4.6 Stopping Multi-Source Replication Slaves
2.4.7 Resetting Multi-Source Replication Slaves
2.4.8 Multi-Source Replication Monitoring
2.5 Changing Replication Modes on Online Servers
2.5.1 Replication Mode Concepts
2.5.2 Enabling GTID Transactions Online
2.5.3 Disabling GTID Transactions Online
2.5.4 Verifying Replication of Anonymous Transactions
2.6 Replication and Binary Logging Options and Variables
2.6.1 Replication and Binary Logging Option and Variable Reference
2.6.2 Replication Master Options and Variables
2.6.3 Replication Slave Options and Variables
2.6.4 Binary Logging Options and Variables
2.6.5 Global Transaction ID System Variables
2.7 Common Replication Administration Tasks
2.7.1 Checking Replication Status
2.7.2 Pausing Replication on the Slave

This section describes how to configure the different types of replication available in MySQL and includes the setup and configuration required for a replication environment, including step-by-step instructions for creating a new replication environment. The major components of this section are: