首页 > 其他分享> > 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
作者:互联网
linux mysql数据库设置的密码过于简单,做数据库操作提示
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
解决:
输入命令
ALTER USER 'root'@'localhost' IDENTIFIED BY '密码' PASSWORD EXPIRE NEVER;
flush privileges;
即可设置简单的数据库密码进行操作数据库
标签:reset,数据库,1820,HY000,executing,USER,statement,ALTER 来源: https://www.cnblogs.com/rslxc/p/16685174.html