客户端连接caching-sha2-password 报错问题
生活随笔
收集整理的這篇文章主要介紹了
客户端连接caching-sha2-password 报错问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
轉自:https://blog.csdn.net/u010026255/article/details/80062153
問題:caching-sha2-password
處理:
? ??ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密規則?
? ?ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; #更新一下用戶的密碼?
? ?FLUSH PRIVILEGES; #刷新權限?
再重置下密碼:alter user 'root'@'localhost' identified by '123qwe';
轉載于:https://www.cnblogs.com/tanghaoran-blog/p/10347022.html
總結
以上是生活随笔為你收集整理的客户端连接caching-sha2-password 报错问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 想知道:吉安市吉水袁家坊在哪?
- 下一篇: centos系统 anaconda3(p