【问题解决】连接mysql 8错误:authentication plugin 'caching_sha2_password
2018-07-03 12:48
911 查看
在刚安装好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 解决
相关文章推荐
- DBeaver连接MySQL 8.0显示"Unable to load authentication plugin 'caching_sha2_password'."错误的问题
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- 【linux错误解决】MySQL远程连接ERROR 2003 (HY000):Can't connect to MySQL server on'XXXXX'的问题
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO))
- mac上mysql配置-解决连接127.0.0.1错误问题
- jdbc与mysql的连接错误解决——“Connect failed: Access denied for user 'root'@'localhost' (using password: YES)”
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- mysql4.1以上版本连接时出现Client does not support authentication protocol #1251错误问题解决办法
- 如何解决补丁KB967723造成的MYSQL连接错误问题
- 解决Navicat for MySQL打开连接时出现错误提示1045 access denied for user 'root'@'localhost' (using password yes)的问题
- Pentaho 连接mysql错误问题的解决
- qt4.7解决mysql无法连接问题(这个方法是错误的)
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- Ubunt下安装mysql及遇到的问题(怎么解决mysql远程连接报10038的错误)
- mysql4.1以上版本连接时出现Client does not support authentication protocol #1251错误问题解决办法
- >mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied ,被mysql连接问题折磨到问题解决,分享
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- 【问题解决:时区】连接MySQL时错误The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
- 解决MYSQL连接端口被占引入文件路径错误的问题