首页 > 数据库> > 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';
标签:sha2,...,IDENTIFIED,报错,USER,MySQL,password,root,ALTER 来源: https://www.cnblogs.com/walkersss/p/16546983.html