java.sql.SQLException: Your password has expired. To log in you must change it using a client that supports expired passwords.
报错信息显示的是密码过期了,需要重新设置
命令如下:
use mysql;
select host,user,password_expired from user;
update user set password_expired='N' where user='root';
flush privileges;