sql master slave

1.master vi /etc/my.cnf [mysqld] log-bin=mysqlbin-log server-id=17 grant replication slave on *.* to 'slave'@'%' identyfied by '123456'; show master status; 2.slave vi /etc/my.cnf server-id=18
相關文章
相關標籤/搜索