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

最后检查:

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

 

 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

原创文章,作者:745907710,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/276972.html

(0)
上一篇 2022年7月25日 23:50
下一篇 2022年7月25日 23:50

相关推荐

发表回复

登录后才能评论