时间:2021-07-01 10:21:17 帮助过:19人阅读
server-id=11
log-bin=mysql-bin
server-id=12 log-bin=mysql-bin
grant replication slave on *.* to ‘rep‘@‘%‘ identified by ‘123456‘;
change master to master_host=‘192.168.1.11‘,master_user=‘rep‘,master_password=‘123456‘,master_log_file=‘mysql-bin.000010‘,master_log_pos=1065;
简易的MySQL主从复制
标签: