ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp
生活随笔
收集整理的這篇文章主要介紹了
ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決辦法:
先通過跳過授權表的方式啟動數據庫:
?
mysqld_safe --user=mysql--datadir=/data/mysql --skip-grant-tables --skip-networking &
這樣就可以免密碼登錄了。
然后修改該用戶密碼過期策略為N:
update user set password_expired="N" where user="root";?
flush privileges;
重啟數據庫即可。
service mysql restart
總結
以上是生活随笔為你收集整理的ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Jedis事务详解
- 下一篇: 加载驱动时提示“驱动服务启动失败”或者“