mysql密碼過期問題
阿新 • • 發佈:2019-01-28
問題描述:Your password has expired. To log in you must change it using a client that supports expired passwords
在啟動azkaban連線mysql資料庫的過程中,報這個錯,然後修改了mysql的root密碼也不行。但是使用navicat又是可以連線並正常使用的。
解決過程:
>select host,user,password_expired from mysql.user;
+-----------+-----------+------------------+
| host | user | password_expired |
+-----------+-----------+------------------+
| localhost | root | N |
| localhost | mysql.sys | Y |
+-----------+-----------+------------------+
password_expired :y說明密碼已經過期,可以改成N,就是未過期
>update mysql.user set password_expired='N';
>flush privileges;