数据库
首页 > 数据库> > mysql登录验证插件失败Authentication method 'caching_sha2_password' not supported by any of the ava

mysql登录验证插件失败Authentication method 'caching_sha2_password' not supported by any of the ava

作者:互联网

方法一:修改my.ini,并重启。

https://blog.csdn.net/qq_25086397/article/details/100551123

貌似没用。

但是有人成功了。。。

就在my.ini加了一个:default_authentication_plugin=mysql_native_password

最后检查:

 

 root用户显示mysql_native_password。成功。

http://t.zoukankan.com/whcai-p-14803527.html

方法二:https://blog.csdn.net/weixin_30825199/article/details/102217005

新建root2

CREATE USER 'pig'@'%' IDENTIFIED BY '123456';

https://blog.csdn.net/feritylamb/article/details/124872763

标签:sha2,available,插件,blog,csdn,details,https,mysql,net
来源: https://www.cnblogs.com/2008nmj/p/16517363.html