Mysql 异常 “Your password has expired. To log in you must change it using a client that supports expired passwords”

Mysql版本:Server version: 5.7.9-log Source distribution
应该是密码过期了,调用 mysqladmin 来修改命令
参考命令:

./mysqladmin -h127.0.0.1 -P3307 -uroot -p password [# 此password为mysqladmin的命令参数,不是要输入的密码]
Enter password:   # 原始密码
New password:     # 新密码
Confirm new password: # 新密码确认

Tips: 我试了好几次才成功,不知道为什么!