mysql Authentication plugin ‘caching_sha2_password’ is not supported问题处理
使用mysql8.0版本,登录失败,提示 Authentication plugin ‘caching_sha2_password’ is not supported。

原因是在MySQL 8.0以后,默认的密码加密方式是caching_sha2_password而不是mysql_native_password。

解决方法:

1.登录mysql数据库 mysql -u root -p

2.更新身份认证方式 ALTER USER ‘你的用户名’ IDENTIFIED WITH mysql_native_password BY ‘你的用户密码’;

【纠错】——mysql Authentication plugin ‘caching_sha2_password‘ is not supported问题处理相关推荐

  1. SQLAlchemy 报错 NotSupportedError: Authentication plugin ‘caching_sha2_password’ is not supported 解决方法

    报错内容 在使用 python SQLAlchemy 连接数据库时,遇到以下错误: NotSupportedError: Authentication plugin 'caching_sha2_pas ...

  2. 【数据库bug修复】——Authentication plugin ‘caching_sha2_password‘ is not supported

    目录 原因 连接数据库的时候出现这个问题的解决方法 创建数据库连接池时解决方法 原因 使用客户端链接mysql数据库,如果数据库版本高于8.0,可能出现以上问题,因为8.0以前默认使用mysql_na ...

  3. 【问题解决】连接mysql 8错误:authentication plugin 'caching_sha2_password

    在刚安装好mysql8,使用native连接的时候报错 authentication plugin 'caching_sha2_password'... 首先确保服务已开启,然后通过cmd命令进入my ...

  4. Navicat连接MySQL,出现2059 - authentication plugin ‘caching_sha2_password‘的解决方案

    Navicat连接MySQL,出现2059 - authentication plugin 'caching_sha2_password'的解决方案 参考文章: (1)Navicat连接MySQL,出 ...

  5. SpringBoot连接Mysql数据库遇到Unable to load authentication plugin ‘caching_sha2_password解决方案

    遇到问题 o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: S1009 o.h.engine.jdbc.spi.SqlE ...

  6. NavicatPremium连接MySQL出现异常Authentication plugin ‘caching_sha2_password‘ cannot be loaded的解决方案

    一.出现异常原因 由于个人本机安装的mysql是8.0,在使用Navicat连接数据库时,出现Authentication plugin 'caching_sha2_password' cannot ...

  7. 【MySQL】MySQL 8 连接出现 2059 - Authentication plugin caching_sha2_password ca

    1.背景 本地连接MySQL报错 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(../Fr ...

  8. 命令行连接mysql时出现Authentication plugin ‘caching_sha2_password‘ cannot be loaded: 找不到指定的模块

    命令行连接mysql时出现Authentication plugin 'caching_sha2_password' cannot be loaded: 找不到指定的模块. 通过如下命令进入数据库 m ...

  9. navicat 远程连接docker mysql提示:Authentication plugin ‘caching_sha2_password‘ cannot be loaded

    navicat 远程连接docker mysql提示:Authentication plugin 'caching_sha2_password' cannot be loaded 1.docker启动 ...

最新文章

  1. Java面试题(一)部分题目
  2. flink的kafka各种依赖区别
  3. Java读写CSV格式文件(opencsv)
  4. node 创建静态web服务器(上)
  5. delphi 防止程序双开 更好的 Best!
  6. Visio 2007 序列号
  7. 彻底搞懂 python 中文乱码问题_彻底搞懂 python 中文乱码问题(深入分析)
  8. matlab图像光照效果模拟
  9. 网站刷IP?活不过三秒
  10. The .NET Core SDK cannot be located.解决方法
  11. AWT绘图工具Graphics
  12. 联想 M4400 升级无线网卡 -- 根据白名单升级网卡
  13. 数据库原理与应用(Oracle) 笔记1 —— SQL语句和SQL函数
  14. Unity Shader之uv旋转
  15. KRPANO资源分析工具下载720YUN全景图
  16. 【电源专题】案例:单节18650电池供电的设备在3.6V时候怎么电量就只剩下一格了?
  17. 计算机毕业设计springboot交通违章管理系统的设计与实现s7830源码+系统+程序+lw文档+部署
  18. 服务器上安装oracle隔夜老挂,[转自Oracle官方博客]一次服务器时间调整引发的实例宕机...
  19. win10 在git bash上使用docker
  20. 基于CommonJS谈谈前端模块化

热门文章

  1. windows下system函数的使用
  2. C#使用Cookie方法
  3. 执行全文索引时出现权限不足的解决方法
  4. 小程序中textarea点击按钮事件
  5. 移动IM开发那些事:技术选型和常见问题
  6. mac下iterm配色、半透明与样式设置
  7. SpringMVC的filter怎么使用Autowired依赖注入bean
  8. 新手算法学习之路----二叉树(二叉树最大路径和)
  9. win7系统的右键菜单只显示一个白色框不显示菜单项 解决办法
  10. JSP慕课网阶段用户登录小例子(不用数据库)