3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RDSのパッチを当てると Ship Error 2003: error reconnecting to master になる

Posted at

現象

Amazonから"Upgrade now available for your Amazon RDS for MySQL database instances"というタイトルで来ているメールのアップデートを適用すると、Slaveからmasterへ接続できなくなる

Ship Error 2003: error reconnecting to master 'rdsrepladmin@<ip-address>:3306' - retry-time: 60  retries: 1

原因

パッチ適用後、再起動するとmasterのIPが変わってしまっている

対処法

エラーの出ているインスタンスで以下のコマンドを順番に実行

CALL mysql.rds_stop_replication;
CALL mysql.rds_start_replication;

または、時間が解決する?

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?