MySQL 5.6 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.XXXXXX' at position XXXXXXXXX
VM上のスレーブをコピーして、スレーブ2を作成。
スレーブ2のホスト名およびIPアドレス、my.cnfのserver-idを変更後、
mysqlを起動したら、
以下のエラーが止まらない事象が発生して小一時間はまったので、対処方法をメモ。
[Note] Slave: received end packet from server, apparent master shutdown:
[Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.XXXXXX' at position XXXXXXXXX
[Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
対処:スレーブ2 data_dir内のauto.cnfを削除。
→auto.cnf内のserver-uuidが重複していたらしい。。
- 作者: Baron Schwartz,Peter Zaitsev,Vadim Tkachenko,菊池研自(監訳),株式会社クイープ
- 出版社/メーカー: オライリージャパン
- 発売日: 2013/11/25
- メディア: 大型本
- この商品を含むブログ (6件) を見る