google / mysql-ripple

Ripple, a server that can serve as a middleman in MySQL replication
Apache License 2.0
373 stars 46 forks source link

On slave how to config change master #18

Closed haydenxia closed 5 years ago

haydenxia commented 5 years ago

On slave,I try to issue change master to,but I do not know how to confirm the value of master_user and master_password,the following: change master to master_host='192.168.184.10', master_user='???', master_password='???', master_port=15000, master_auto_position=1;

Thanks in advance

pivanof commented 5 years ago

Currently by default Ripple will not do any authentication of the slave, i.e. you can provide any user and password, it will still work. There's a flag --ripple_server_password_hash. You can use it to restrict the password that slave has to use, but there's no restriction on the user yet.