Navicat 连接 Mysql 时错误:2059-Authentication plugin ‘caching_sha_password‘ cannot be loaded.
MySQL8以上版本登录账户加密方式为:【caching_sha2_password】;
MySQL查看加密方式:show variables like 'default_authentication_plugin';
MySQL查看所有用户的加密方式:select host,user,plugin from mysql.user;
修改用户的加密方式为【mysql_native_password】:
alter user 'root'@'localhost' IDENTIFIED WITH..
原创
2021-07-26 10:58:45 ·
222 阅读 ·
0 评论