尝试在AWS CLI for RDS找到:
modify-db-instance --db-instance-identifier <value> --master-user-password (string)
–master-user-password(string)
The new password for the DB instance master user. Can be any printable
ASCII character except “/”,“””,or “@”.Changing this parameter does not result in an outage and the change is
asynchronously applied as soon as possible. Between the time of the
request and the completion of the request,the MasterUserPassword
element exists in the PendingModifiedValues element of the operation
response. Default: Uses existing settingConstraints: Must be 8 to 41 alphanumeric characters (MysqL,MariaDB,
and Amazon aurora),8 to 30 alphanumeric characters (Oracle),or 8 to
128 alphanumeric characters (sql Server).
Amazon RDS命令行界面(CLI)已被弃用.而是使用AWS CLI进行RDS.
通过AWS Management Console,选择您需要重置密码的实例,单击“修改”,然后选择一个新的主密码.
If you don’t want to use the AWS Console,you can use the rds-modify-db-instance command (as per Amazon’s documentation for RDS) to reset it directly,given the AWS command line tools: rds-modify-db-instance instance-name –master-user-password examplepassword
原文地址:https://www.jb51.cc/postgresql/192630.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。