当前位置:网站首页>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 12:28:00 【m0_67393413】
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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- [Shader] Shader official example [easy to understand]
- Comparison of ipv4 and ipv6 (IPV4)
- ESP8266-Arduino编程实例-HDC1008温度湿度传感器驱动
- 榕树贷款GPU 硬件架构
- Json和对象之间转换的封装(Gson)
- Getting started with jmeter performance testing steps (performance testing tool jmeter)
- Two methods of NameNode failure handling
- kernel syscore
- In Excel using ODBC consumer SAP ABAP CDS view
- ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)解决办法
猜你喜欢
随机推荐
电商rpa是什么意思?跟电商rpi是一个意思吗?
Encapsulation of conversion between Json and objects (Gson)
The function of SQL GROUP BY dependence
CentOS7 - yum install mysql
DCM middleware family welcomes a new member
SAP message TK 248 solved
AMBA APB学习记录(AMBA 2.0)
Structural controllability of switched linear systems with symmetry constraints
想吃菌子,当然是自己上山找了
centos7安装mysql5.7
CWE4.8 -- The 25 most damaging software security issues in 2022
Markdown编辑器语法
集群中增加数据节点与退役数据节点
Two methods of NameNode failure handling
log4j2的使用
NameNode故障处理的两种方法
尚硅谷–MySQL–基础篇(P1~P95)
FIFO深度计算学习记录(汇总)
字符函数和字符串函数
串的基本概念与操作



![LRU缓存[线性表 -> 链表 -> hash定位 -> 双向链表]](/img/ad/dd80541514d6fedde8c730218fdf5a.png)





