RDS for MySQL 8.0.35でPlugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'のエラーが継続して発生する

0

RDS for MySQL 8.0.35で、error/mysql-error-running.logにPlugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'というエラーが頻繁に出力されていることを発見しました。 エラーの指示通り、接続時のユーザー(root)の認証方法をcaching_sha2_passwordに変更しましたが、同エラーが発生し続けています。 画像を添付いたしましたが、質問が2つあります。 ・rootユーザーの認証方法をcaching_sha2_passwordに変更したにも関わらず、エラーが発生しているのはなぜか ・rdsdomainユーザーの認証方法はauth_socketになっているが、エラーが発生しているのはなぜか

お手数をおかけいたしますが、ご回答をお願い致します。 ターミナルからの接続画面 rootユーザーの接続ログ rdsadminユーザーの接続ログ

parma
質問済み 3ヶ月前2125ビュー
1回答
0

こちらの質問と同様の問題が発生しているように見えます。
https://repost.aws/questions/QUc_APXlzaTY6Ml73KEjRZwg/support-for-log-error-suppression-list-in-mysql8-parameter-groups

その中の回答によるとAWS側でも対応中のようなのでユーザー側では対応待ちになるのではないかと思います。
https://repost.aws/questions/QUc_APXlzaTY6Ml73KEjRZwg/support-for-log-error-suppression-list-in-mysql8-parameter-groups#ANe4ebw06FQMaGX5ZpZTSD6A

Just spoke with AWS and they mentioned that "I would like to let you know that our development team is aware of this limitation and there is already plan in place to have "default_authentication_plugin" modifiable in the future. Currently, we are unable to provide ETA when this will be done, however, as soon as its gets released, it will be publicly announced in either one of the following links noted below".

AWS RDS Blog: https://aws.amazon.com/blogs/aws/category/amazon-rds/
AWS RDS forum: https://forums.aws.amazon.com/forum.jspa?forumID=60
What's new blog: https://aws.amazon.com/new/

profile picture
エキスパート
回答済み 3ヶ月前
  • 回答ありがとうございます!re:Postにすでに投稿があったのですね...。 default_authentication_pluginが今後変更可能になる予定であることはわかったのですが、default_authentication_pluginはCREATE USERなどによって作成された新しいアカウントに対しての認証方法を決定する設定のため、アップデートがあったとしても、既に存在するrdsadminの認証方法はauth_socketのままなのではないかと思います。。 また、rdsadminは現在auth_socketの認証方法になっているにも関わらず、あたかもmysql_native_passwordになっているかのような警告が出ているのが気になります。

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン