【问题解决】连接mysql 8错误:authentication plugin 'caching_sha2_password
在刚安装好mysql8,使用native连接的时候报错
authentication plugin 'caching_sha2_password'...
首先确保服务已开启,然后通过cmd命令进入mysql的localhost数据库
mysql -hlocalhost -uroot -p123456
然后进入mysql数据库
use mysql;
修改密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ''; FLUSH PRIVILEGES;
重新连接数据库
OK 解决
【问题解决】连接mysql 8错误:authentication plugin 'caching_sha2_password相关推荐
- 命令行连接mysql时出现Authentication plugin ‘caching_sha2_password‘ cannot be loaded: 找不到指定的模块
命令行连接mysql时出现Authentication plugin 'caching_sha2_password' cannot be loaded: 找不到指定的模块. 通过如下命令进入数据库 m ...
- NavicatPremium连接MySQL出现异常Authentication plugin ‘caching_sha2_password‘ cannot be loaded的解决方案
一.出现异常原因 由于个人本机安装的mysql是8.0,在使用Navicat连接数据库时,出现Authentication plugin 'caching_sha2_password' cannot ...
- navicat 远程连接docker mysql提示:Authentication plugin ‘caching_sha2_password‘ cannot be loaded
navicat 远程连接docker mysql提示:Authentication plugin 'caching_sha2_password' cannot be loaded 1.docker启动 ...
- SQLyog连接Mysql8.0提示 Authentication plugin ‘caching_sha2_password‘ cannot be loaded
1.这里是Mysql8.0登录验证方式更改了 2.直接打开Mysql客户端页面输入11111111是你自己的密码,回车,会提示你修改成功 ALTER USER root@localhost IDENT ...
- Navicat连接MySQL,出现2059 - authentication plugin ‘caching_sha2_password‘的解决方案
Navicat连接MySQL,出现2059 - authentication plugin 'caching_sha2_password'的解决方案 参考文章: (1)Navicat连接MySQL,出 ...
- 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 ...
- 2059 - authentication plugin 'caching_sha2_password' -navicat连接异常问题解决
使用navicat 连接 mysql 8.0.11 报 "2059 - authentication plugin 'caching_sha2_password' ..." 解决 ...
- 【MySQL】MySQL 8 连接出现 2059 - Authentication plugin caching_sha2_password ca
1.背景 本地连接MySQL报错 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(../Fr ...
- mysql8.x实践系列(3)Qt客户端连接mysql报错:Authentication plugin ‘caching_sha2_password‘ reported error
一.现象描述 Qt客户端远程连接mysql8.x服务器,会报错: Authentication plugin 'caching_sha2_password' reported error:Authen ...
最新文章
- Go 学习笔记(28)— nil(nil 不能比较、不是关键字或保留字、nil 没有默认类型、不同类型的 nil 指针是一样的、不同类型的 nil 是不能比较的、相同类型的 nil 可能也无法比较)
- 独家 | 用随机森林预测“美版拼多多”商品销量
- JSON和JSONP有什么区别?
- 袖口里的“超能力”:Facebook腕带式AR传感器,可隔空打字、操控界面,LeCun点赞...
- CSP认证201604-4	游戏[C++题解]:bfs、拆点、迷宫问题加强版、三维数组
- Java中list.forEach方法的使用示例-根据key获取对应的value
- iOS开发常用快捷键
- android数据保存
- systemd-run 中文手册
- struts2.3+spring3.2+hibernate4.2例子
- 初识区块链【区块链01】
- SpringBoot+Vue实现前后端分离的实习管理系统
- 原创|批处理|批处理安卓log抓取工具
- 【案例】重庆市金融工作办公室:大数据监测预警非法集资平台
- 浅析TVS管的响应时间与TVS管伏安特性曲线
- 什么情况下选用mysql_在MySQL中,‘%’可以用在什么情况下?
- 题解 2020级HAUT新生周赛(二)
- java smart单点登录_SmartBi 单点登录的实现
- 占书明:电脑只能上扣扣QQ和微信,无法打开网页,解决办法!
- 【搜索】单词方阵 luogu-1101
热门文章
- java代码走查常见错误_FindBugs常见错误描述和解决方法
- mysql获取有哪几种状态_Mysql进阶垫脚石 -- Sql命令的执行状态有哪几种
- mysql 存储引擎 面试_搞定PHP面试 - MySQL基础知识点整理 - 存储引擎
- tp点一共有多少_致命女人更新时间 致命女人第一季一共多少集在线观看地址
- matlab 将矩阵中的0置为Inf(邻接矩阵)
- 高速串行总线系列(1)8B/10B编码技术
- 【SRIO】4、Xilinx RapidIO核详解
- 英特尔披露人工智能战略
- Spring和Spring MVC包扫描
- 一些关于iText和iTextSharp的旧闻(some old news about iText and iTextSharp)