You must reset your password using ALTER USER statement before executing this statement.

Posted f-ck-need-u

tags:

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

mysql 5.7之后,刚初始化的MySQL实例要求先修改密码。否则会报错:

mysql> create database test;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

所以修改下密码就OK:

alter user [email protected] identified by '[email protected]!';
flush privileges;

以上是关于You must reset your password using ALTER USER statement before executing this statement.的主要内容,如果未能解决你的问题,请参考以下文章

MySQL You must reset your password using ALTER USE

You must reset your password using ALTER USER statement before executing this statement.

You must reset your password using ALTER USER statement before executing this statement.

You must reset your password using ALTER USER statement before executing this statement.

Mac 安装 MySQL 5.7 后登入后无法执行命令You must reset your password using ALTER USER statement before executing

mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin(