当前位置:Gxlcms > 数据库问题 > 2059-authentication plugin 'caching_sha2_password"cnnot bt loaded :mysql8.0数据库连接不上(Navicat)

2059-authentication plugin 'caching_sha2_password"cnnot bt loaded :mysql8.0数据库连接不上(Navicat)

时间:2021-07-01 10:21:17 帮助过:18人阅读

:8.0改变了 身份验证插件 , 打开 my.ini (或者my.cofg) 可以看到变更了 5.7及其以前的方式:mysql_native_password
办法: 1:命令行键入数据库: mysql -uroot -p 2:键入密码后,执行: ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY ‘密码‘; 密码更改为自己数据库的密码; 最终出现:Query OK, 0 rows affected (0.04 sec)则成功;

2059-authentication plugin 'caching_sha2_password"cnnot bt loaded :mysql8.0数据库连接不上(Navicat)

标签:query   验证   pad   12px   deb   root   mys   连接   auth   

人气教程排行