本文共 434 字,大约阅读时间需要 1 分钟。
mysql> authentication plugin 'caching_sha2_password' cannot be loaded;
mysql8.0 引入了新特性 caching_sha2_password;这种密码加密方式客户端不支持;客户端支持的是mysql_native_password 这种加密方式;
mysql> select host,user,plugin from user;
mysql> updates user set plugin='mysql_native_password' where user='root';mysql> select host,user,plugin from user;链接成功
转载地址:http://uqnwi.baihongyu.com/