【SQL】Your password has expired. To log in you must change it.......

在配置SQL的编辑器的时候,连接过程出现了如下的错误:

Your password has expired. To log in you must change it using a client that supports expired passwords.

【SQL】Your password has expired. To log in you must change it......._第1张图片

当连接到 SQL 时,如果出现 “Your password has expired. To log in you must change it using a client that supports expired passwords” 的提示,这意味着你的密码已经过期了。为了登录,你需要使用支持更改过期密码的客户端进行密码修改。

解决办法:

输入命令:

mysqladmin -uroot -p password

在这里插入图片描述
这里输入之前过期的初试密码:pDGG0qgMN*dJ

在这里插入图片描述
重新输入密码后,再次连接:

【SQL】Your password has expired. To log in you must change it......._第2张图片

我们测试一下:

【SQL】Your password has expired. To log in you must change it......._第3张图片

顺利完成!

你可能感兴趣的:(SQL,sql,数据库)