Navicat for MySQL 创建本地数据库连接报错 2059 – Authentication plugin 'caching_sha2_password' cannot


版本:MySQL 8.xxx

 

Navicat for MySQL 创建本地数据库连接报错
2059 – Authentication plugin ‘caching_sha2_password’ cannot be loaded:…

set global validate_password.policy=0;
ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘xxxxxyyyyy’;
ALTER USER ‘root’@’%’ IDENTIFIED BY ‘xxxxxyyyyy’;
update mysql.user set host = ‘%’ where user = ‘root’;
ALTER USER root@’%’ IDENTIFIED WITH mysql_native_password BY ‘xxxxyyyy’;

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/278758.html

(0)
上一篇 2022年8月3日
下一篇 2022年8月3日

相关推荐

发表回复

登录后才能评论