6 MySQL Database Replication Tips 6 MySQL數據庫複製的秘訣
Replicating on two or more MySQL master database servers複製兩個或兩個以上的MySQL master數據庫服務器
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.安裝腳本時通知您複製失敗。
Filed under提起下 Database數據庫 , , Database Replication數據庫複製 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , Programming編程 , , RDBMS RDBMS的 , , Tech Note技術說明 , , Web Hosting虛擬主機 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




