Centos7+Mysql5.7實現主從複製

1、Master主服務器配置(192.168.30.201)mysql 找到mysql配置文件my.cnf在末尾加上: find / -name my.cnf web log-bin=mysql-bin #slave會基於此log-bin來作replication server-id=1 #master的標示 innodb_flush_log_at_trx_commit=1 sync_bin
相關文章
相關標籤/搜索