1 2 3 4 5 6
| change master to master_host='172.17.0.2', master_user='slave', master_password='xxxxxx', master_port=3306, master_log_file='edu-mysql-bin.000001', master_log_pos=769, master_connect_retry=30; # 172.17.0.3是master的IP,docker中通过docker inspect查看
# change master to master_host='172.17.0.2'时172.17.0.2是master容器的IP,不能使用虚拟机的IP
### change master to master_host='172.17.0.2', master_user='slave', master_password='slave', master_port=3306, master_log_file='edu-mysql-bin.000033', master_log_pos=72831102, master_connect_retry=30;
|