MySQL ERROR 1820 (HY000)
Posted God-is-with-me
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL ERROR 1820 (HY000)相关的知识,希望对你有一定的参考价值。
You must reset your password using ALTER USER statement before executing this statement报错处理
解决方式如下:
mysql版本5.7.6版本以前用户可以使用如下命令:
mysql> SET PASSWORD = PASSWORD(‘root(密码)‘);
MySQL版本5.7.6版本开始的用户可以使用如下命令:
mysql> ALTER USER USER() IDENTIFIED BY ‘root(密码)‘;
此博文非原创
以上是关于MySQL ERROR 1820 (HY000)的主要内容,如果未能解决你的问题,请参考以下文章
ERROR 1820 (HY000): You must reset your password
mysql5.7初始化密码报错 ERROR 1820 (HY000)
linux - mysql 异常:ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
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
mysql5.7初始化密码报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement