发布时间:2014-10-02 21:45:48
Master配置: 代码如下 复制代码 log-bin = mysql-binserver-id = 1binlog-do-db = powerdns #要同步的数据库 Master新增slave账号: 代码如下 复制代码 mysql> GRANT replication slave ON *.* TO 'slave'@'192.168.1.2' IDENTIFIED BY 'passwd'; mysql> FLUSH privileges;.........【阅读全文】