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