这里写自定义目录标题
Mysql 1862 Your password has expired. To log in you must change it using a client…
首先出现这种问题,先看你的Server
//1. 更新密码
SET PASSWORD = PASSWORD('newpassword');
//2. 设置密码永不过期(可选)
ALTER USER 'root' PASSWORD EXPIRE NEVER;
//3. 刷新
flush privileges;