当前位置:Gxlcms > 数据库问题 > mysql修改密码Your password does not satisfy the current policy requirements

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

时间:2021-07-01 10:21:17 帮助过:20人阅读

出现这个问题的原因是:密码过于简单。刚安装的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

 

如果要修改这个值,

1、先登入到mysql

技术分享

2、设置安全级别

技术分享

3、默认密码长度为8,可以设置为其它值,最小4位

技术分享

4、设置新密码,刚安装完的mysql必须设置新密码(应该是从5.5版本开始)

技术分享

 

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

标签:技术   img   ble   str   ida   password   cas   not   current   

人气教程排行