[CentOS] MariaDB 10.X Master-Slave Replication

Eliezer Croitoru eliezer at ngtech.co.il
Fri Nov 13 04:14:04 UTC 2015


Try:
maria-discuss at lists.launchpad.net

They should have a very clear answer.
Also have you tried this:
https://mariadb.com/kb/en/+search/?q=replication&quick=1&source=kb&search=Search
https://mariadb.com/kb/en/mariadb/setting-up-replication/

All The Bests,
Eliezer

On 12/11/2015 13:09, melkor.kp wrote:
> 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
>




More information about the CentOS mailing list