2017-04-21 62 views
1

突然收到此错误:MySQL错误1820必须重置密码

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

我并没有改变任何配置等?为什么突然要求重置?密码过期了吗?

+2

这将取决于[建立的政策](https://dev.mysql.com/doc/refman/5.7/en/password-expiration-policy.html)将是我的猜测。是的密码可以手动过期,或者通过策略可以自动过期。 (请参阅上面的链接) – xQbert

回答