刚安装的mysql,输入任何内容都报 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 就是要重新设置一下密码的意思 SET PASSWORD = PASSWORD('yourpwd'); 继续报错:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
密码太简单了。??? 还简单? 干脆修改密码策略。 set global validate_password_policy=0;
set global validate_password_length=1; SET PASSWORD = PASSWORD('yourpwd'); ok!
|