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
질문됨 4달 전2287회 조회
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
전문가
답변함 4달 전
  • 回答ありがとうございます!re:Postにすでに投稿があったのですね...。 default_authentication_pluginが今後変更可能になる予定であることはわかったのですが、default_authentication_pluginはCREATE USERなどによって作成された新しいアカウントに対しての認証方法を決定する設定のため、アップデートがあったとしても、既に存在するrdsadminの認証方法はauth_socketのままなのではないかと思います。。 また、rdsadminは現在auth_socketの認証方法になっているにも関わらず、あたかもmysql_native_passwordになっているかのような警告が出ているのが気になります。

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인