当前位置:网站首页>ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
2022-07-31 04:11:00 【sebeefe】
mysql中初始密码长度为8,当你更改MySQL密码策略后
mysql> set global validate_password_policy=0;
并且设置简单好记的密码后
mysql> set password=password("000000");
可能仍然出现错误:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements,此时必须第一次设置密码长度为8位才不报错,更改密码成功后才能查看validate_password插件的以下参数,当然,validate_password插件必须已经安装,MySQL5.7是默认安装的。

此时需要更改长度再修改密码

我的validate_password_length参数默认为8,它有最小值的限制,最小值为:
validate_password_number_count
+ validate_password_special_char_count
+ (2 * validate_password_mixed_case_count)
其中,validate_password_number_count指定了密码中数据的长度,validate_password_special_char_count指定了密码中特殊字符的长度,validate_password_mixed_case_count指定了密码中大小字母的长度。
这些参数,默认值均为1,所以validate_password_length最小值为4,如果你显性指定validate_password_length的值小于4,尽管不会报错,但validate_password_length的值将设为4。当然也有mysql不符合这种情况的情形。所以此文章或许可以帮助您。
先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- log level and print log note
- endian mode
- (四)递归、可变参数、访问修饰符、理解 main 方法、代码块
- interprocess communication
- (4) Recursion, variable parameters, access modifiers, understanding main method, code block
- 关于出现大量close_wait状态的理解
- Safety 20220722
- C language from entry to such as soil, the data store
- 浅识Flutter 基本组件之CheckboxListTile组件
- Notes on the establishment of the company's official website (6): The public security record of the domain name is carried out and the record number is displayed at the bottom of the web page
猜你喜欢

The application and practice of mid-to-platform brand advertising platform

MySQL基础操作

(四)递归、可变参数、访问修饰符、理解 main 方法、代码块

endian mode

识Flutter 基本组件之showTimePicker 方法

binom二项分布,

C language confession code?

idea工程明明有依赖但是文件就是显示没有,Cannot resolve symbol ‘XXX‘

Basic knowledge of mysql (2)

BUG destroyer!!Practical debugging skills are super comprehensive
随机推荐
(线段树) 基础线段树常见问题总结
微软 AI 量化投资平台 Qlib 体验
问题1:给你1-10的列表,实现列表输出,单数在左边,双数在右边。
Pytest e-commerce project combat (on)
open failed: EACCES (Permission denied)
interprocess communication
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
A brief introduction to the CheckBox component of the basic components of Flutter
「 每日一练,快乐水题 」1331. 数组序号转换
Exsl file preview, word file preview web page method
BP神经网络
Safety 20220715
安全20220712
递归实现汉诺塔问题
ClickHouse: Setting up remote connections
Redis uses LIST to cache the latest comments
从滴滴罚款后数据治理思考
$parent/$children 与 ref
qlib架构
Safety 20220722