Navicat Premium 出现2059错误解决办法
1,登陆后可查询默认加密规则,键入
use mysql;
select user,plugin from user where user ='root';
解决办法;
更新用户密码:ALTER USER'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
更改加密方式:ALTER USER'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
刷新权限:FLUSH PRIVILEGES;
--------------------- 本文来自 郑先生的喵 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/pan_zzq/article/details/81078564?utm_source=copy