Re: MariaDB 10.X Master-Slave Replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Try:
maria-discuss@xxxxxxxxxxxxxxxxxxx

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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux