Replicating on two or more MySQL master database servers複製を2つ以上のMySQLマスタデータベースサーバー

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パスワードを慎重に確認して問題が解決さGRANTステートメント

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. 2つ以上のときはマスタサーバを使用する必要がありますログ-スレーブ- updatesオプションを確保するために変更を伝播したチェーンに追加します。 Beware of infinite looping of updates.用心の無限ループの更新プログラムです。 Infinite loop is prevented with:無限ループを防止性:
replicate-same-server-id = 0 レプリケート-同じ-にserver - id = 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常にを維持する、 tail - fのスポットのMySQLサーバのログファイルを任意のレプリケーションのテスト中に問題が発生相

6. 6 。 Setup scripts to notify you when replication fails.レプリケーションのセットアップスクリプトが失敗した場合には通知する。