linux mysql5.7 密码相关问题

Posted 陈可

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux mysql5.7 密码相关问题相关的知识,希望对你有一定的参考价值。

ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

 select @@validate_password_length;

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

SET PASSWORD = PASSWORD(‘your new password‘);

flush privileges;

 

新增用户并授权

 

use mysql; Grant all on *.* to \'root\'@\'%\' identified by \'root用户的密码\' with grant option;

flush privileges;

 

以上是关于linux mysql5.7 密码相关问题的主要内容,如果未能解决你的问题,请参考以下文章