Replicating on two or more MySQL master database servers複製兩個或兩個以上的MySQL master數據庫服務器

1. 1 。 MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on Master MySQL的主主複製失敗,錯誤1200 ( hy000 ) ,碩士

2. 2 。 Password problem are solved by carefully checking your grant statements密碼問題是解決了仔細檢查您的補助金報表

3. 3 。 When you have more than two master servers, you must use log-slave-updates option to ensure that changes are propagated in a chain.當您有兩個以上的主服務器,您必須使用日誌-奴隸-更新選項,以確保變化是在宣揚連鎖。 Beware of infinite looping of updates.提防無限循環的更新。 Infinite loop is prevented with:無限循環是預防:
replicate-same-server-id = 0 複製相同的服務器編號 = 0

4. 4 。 When in trouble delete the master.info file and restart the server.當有麻煩刪除master.info文件和重新啟動服務器。 It may contain stale information which overrides your configuration in my.cnf.它可能包含過時的資料,凌駕於您的配置在my.cnf 。

5. 5 。 Always keep a tail -f of MySQL server log file to spot any replication problems during testing phase始終保持尾樓的MySQL服務器的日誌文件,以現貨任何複製問題在測試階段

6. 6 。 Setup scripts to notify you when replication fails.安裝腳本時通知您複製失敗。