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

2022/7/26 2:23:14

本文主要是介绍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



这篇关于mysql登录验证插件失败Authentication method 'caching_sha2_password' not supported by any of the ava的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程