用navicat登录mysql的时候提示:Your password has expired. To log in you must
change it using a client that supports expired passwords,密码过期了解决办法如下:
以root权限登录mysql:mysql -uroot -p输入密码。
1.SET PASSWORD = PASSWORD('your new password');
2. ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;设置密码永不过期。
3. flush privileges;