首页 > 数据库 > mysql > 正文

mysql报错:Your password has expired
2020-03-26 14:34:14   来源:   评论:0 点击: 收藏

错误信息如下:Error when connecting to server: Your password has expired To log in you must change it using a c
错误信息如下:

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;


如下:




相关热词搜索:

上一篇:ERROR : MySQL server has gone away
下一篇:最后一页