数据库
首页 > 数据库> > Navicat连接MySQL,出现2059 - authentication plugin 'caching_sha2_password'的解决方法

Navicat连接MySQL,出现2059 - authentication plugin 'caching_sha2_password'的解决方法

作者:互联网

cmd(管理员)登录mysql执行如下

ALTER USER 'YOURUSERNAME'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOURPASSWORD';

 

PS: 

YOURUSERNAME 你的用户名

YOURPASSWORD  你设置的密码

 

标签:sha2,YOURUSERNAME,plugin,2059,MySQL,Navicat,YOURPASSWORD,mysql,password
来源: https://www.cnblogs.com/max-home/p/12956500.html