mysql修改密码Your password does not satisfy the current policy requirements

mysql修改密码Your password does not satisfy the current policy requirements

出现这个问题的原因是:密码过于简单。刚安装的mysql的密码默认强度是最高的,如果想要设置简单的密码就要修改validate_password_policy的值,

validate_password_policy有以下取值:

 

PolicyTests Performed
0 or LOW Length
1 or MEDIUM Length; numeric, lowercase/uppercase, and special characters
2 or STRONG Length; numeric, lowercase/uppercase, and special characters; dictionary file

 

 

posted @ 2021-07-15 14:46  书院小先生  阅读(226)  评论(0编辑  收藏  举报