16
14

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.

Amazon RDSのマスターパスワードを忘れた場合の対処法

Last updated at Posted at 2015-01-05

AWS RDSのマスターパスワードを忘れてしまって困った時の対処方法です。

aws-cliを使えば、マスターパスワードが変更できます。
aws-cli1.2.5以降で試しました。(おそらくそれ以前でも大丈夫なはず。)

aws rds modify-db-instance --db-instance-identifier [dbname] --master-user-password [新password]

成功すれば、RDSのステータスが帰ってきます。

{
“DBInstance”: {
“PubliclyAccessible”: true,
:
:
“PendingModifiedValues”: {
“MasterUserPassword”: “****”
},
:
:
“DBInstanceIdentifier”: “dbname”
}
}

これで、新パスワードで接続できるようになります。

16
14
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
16
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?