MySql教程

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

本文主要是介绍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';

这篇关于Navicat for MySQL 创建本地数据库连接报错 2059 - Authentication plugin 'caching_sha2_password' cannot的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!