ERROR 1820 (HY000): You must reset your password

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 1820 (HY000): You must reset your password相关的知识,希望对你有一定的参考价值。

数据库安装后执行命令ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.


解决办法:

mysql> SET PASSWORD = PASSWORD('password123!');


mysql> ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;




以上是关于ERROR 1820 (HY000): You must reset your password的主要内容,如果未能解决你的问题,请参考以下文章

linux - mysql 异常:ERROR 1820 (HY000): You must SET PASSWORD before executing this statement

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

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

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

MySQL5.7 报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before execu

安装完绿色版MySQL修改密码:ERROR 1820 (HY000): You must reset your password using ALTER USER statement befo re