mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin
生活随笔
收集整理的這篇文章主要介紹了
mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天在窗口使用命令執行操作時,總是這個報錯,一開始感覺莫名其妙
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin
后來了解查詢之后才找到解決辦法
解決辦法
1、 修改用戶密碼 mysql> alter user 'root'@'localhost' identified by 'youpassword'; 或者 mysql> set password=password("youpassword");2、刷新權限 mysql> flush privileges;問題就解決了!!!
總結
以上是生活随笔為你收集整理的mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 打开表时提示 Out of resour
- 下一篇: 安装mysql Install/Remo