SQLException: Your password has expired. To log in you must change it using a client that supports e

时间:2024-03-17 12:55:15

 java.sql.SQLException: Your password has expired. To log in you must change it using a client that supports expired passwords.

 报错信息显示的是密码过期了,需要重新设置

SQLException: Your password has expired. To log in you must change it using a client that supports e

命令如下:

use mysql;

select host,user,password_expired from user;

update user set password_expired='N' where user='root';

flush privileges;