MariaDB 10.X Master-Slave Replication

Home » CentOS » MariaDB 10.X Master-Slave Replication
CentOS 1 Comment

Hi,

I am configuring master-slave replication in a MariaDB 10.X over CentOS 7.1
and I am having some troubles.

When I configure the slave I use the following directies in my.cnf:

… master-host = 192.168.122.2
master-user = slave_user master-password = qwerty master-connect-retry = 60

But is seems that the daemon doesn’t like them and it refuses to start.

Does anybody know if those directives have been removed on that version?

Setting up them with the following mysql commands inside works.

mysql> slave stop;
mysql> CHANGE MASTER TO MASTER_HOST=’*192.168.122.2*’, MASTER_USER=’*slave_user*’, MASTER_PASSWORD=’*qwerty*’, MASTER_LOG_FILE=’*mysql-bin.000003*’, MASTER_LOG_POS=*11128001*;
mysql> slave start;
mysql> show slave status\G;

Cheers, Roberto Nebot

One thought on - MariaDB 10.X Master-Slave Replication