Configuring replication

In this section we will see which configuration parameters are required on the master and slave servers.

All the following explanations also apply to the multisource replication environments. However, there are some differences that will be explained after the common tasks.

Setting up a replication environment requires at least the following steps:

  1. Configuring a new replication master
  2. Configuring one or more replication slave
  3. Loading data from the master
  4. Starting the slave
  5. Checking if the slaves are running

These tasks, along with other useful topics, will be explained in this section.

Configuring a new replication master

When setting up a replication environment, the first thing to do is of course to set up at least one master. ...

Get Mastering MariaDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.