Error when connecting to server: Your password has expired. To log in you must change it using a client that supports expired passwords.

进入mysql,设置一个新密码,并设置不过期:
mysql -uroot -p
SET PASSWORD = PASSWORD('root123456');
ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;
如下:
