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

Posted Louis He

tags:

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

mysql5.7 报错 :

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

需要重新设置密码。那我们就重新设置一下密码,命令如下:

set password = password(‘123456‘);

 

以上是关于MySQL5.7 报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before execu的主要内容,如果未能解决你的问题,请参考以下文章