当前位置:网站首页>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-08-02 00:16:00 【m0_67391518】
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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- How does JSP use request to get the real IP of the current visitor?
- 扫雷小游戏
- MLX90640 红外热成像仪测温传感器模块开发笔记(十) 成果展示-红眼睛相机
- Active Disturbance Rejection Control of Substation Inspection Robot Based on Data Drive
- bgp 聚合 反射器 联邦实验
- 辨析内存函数memset、memcmp、memmove以及memcpy
- CVPR 2022 | SharpContour:一种基于轮廓变形 实现高效准确实例分割的边缘细化方法
- Web开发
- JSP built-in object out object function introduction
- Quick solution for infix to suffix and prefix expressions
猜你喜欢

PowerBI商学院佐罗BI真经连续剧

Business test how to avoid missing?

第 45 届ICPC亚洲区域赛(上海)G-Fibonacci

Double queue implementation stack?Dual stack implementation queue?

业务测试如何避免漏测 ?

bgp aggregation reflector federation experiment

【CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!)(A~D)】

C语言实现扫雷游戏

Realize deletion - a specified letter in a string, such as: the string "abcd", delete the "a" letter in it, the remaining "bcd", you can also pass multiple characters to be deleted, and pass "ab" can

nodeJs--mime module
随机推荐
[21-Day Learning Challenge] A small summary of sequential search and binary search
GIF making - very simple one-click animation tool
思维导图,UML在线画图工具
管理基础知识16
路由策略
JSP how to obtain the path information in the request object?
傅立叶变换相关公式
String splitting function strtok exercise
AXI4协议介绍
c语言字符和字符串函数总结(二)
The Statement update Statement execution
These 4 computer notepad software, you have to try
What is the function of the JSP out.println() method?
Unknown CMake command “add_action_files“
期货公司开户实力经纪业务的规模
Angr(十二)——官方文档(Part3)
Redis - message publish and subscribe
Quick solution for infix to suffix and prefix expressions
含外部储能的电力系统暂态稳定分布式控制
Business test how to avoid missing?