mysql主從同步

1、主庫開啓binlog日誌 vim /etc/my.cnf 把 log_bin的註釋取消 配置sever id =14 2、主庫啓動並授權 /etc/init.d/mysqld start 查看binlog是否開啓 show binary logs; 授權 grant replication slave on *.* to [email protected]'10.0.0.%' identifi
相關文章
相關標籤/搜索