数据库连接持续报错:authentication method ‘caching_sha2_password’ not supported by any of the available plugins

C#连接MySQL数据库出现以下异常----用户密码验证问题:
authentication method ‘caching_sha2_password’ not supported by any of the available plugins
MySQL8以上要设置为mysql_native_password

authentication method ‘caching_sha2_password’ not supported by any of the available plugins
root设置为mysql_native_password依然弹出上述异常
此时注意!!检查导入的mysql.data.dll版本,要和MySQL8匹配
版本适配,数据库连接成功

相关文章:

  • 2022-03-07
  • 2021-10-03
  • 2021-08-23
  • 2022-01-02
猜你喜欢
  • 2021-07-15
  • 2021-08-17
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2021-04-30
相关资源
相似解决方案