659441806 发表于 2018-10-1 07:14:40

MySQL双主(主主)架构

mysql> stop slave;  
Query OK, 0 rows affected (0.00 sec)
  

  
mysql> change master to master_host='192.168.65.129', master_user='repl', master_password='123456', master_log_file='alex.000001', master_log_pos=420;
  
Query OK, 0 rows affected, 2 warnings (0.01 sec)
  

  
mysql> start slave;
  
Query OK, 0 rows affected (0.00 sec)
  

  
mysql> show slave status\G


页: [1]
查看完整版本: MySQL双主(主主)架构