当前位置:网站首页>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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- 安全20220712
- (5) final, abstract class, interface, inner class
- Redis 统计用户新增和留存
- LocalDate addition and subtraction operations and comparison size
- mysql基础知识(二)
- Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]
- Recursive implementation of the Tower of Hanoi problem
- Daily practice of LeetCode - palindrome structure of OR36 linked list
- IDEA常用快捷键与插件
- Thinking about data governance after Didi fines
猜你喜欢
[C language] General method of expression evaluation
安全20220712
qlib架构
exsl文件预览,word文件预览网页方法
BUG消灭者!!实用调试技巧超全整理
VS QT - ui does not display newly added members (controls) || code is silent
马斯克对话“虚拟版”马斯克,脑机交互技术离我们有多远
扫雷游戏(c语言写)
[Paper reading] Mastering the game of Go with deep neural networks and tree search
从滴滴罚款后数据治理思考
随机推荐
从滴滴罚款后数据治理思考
ENSP,划分VLAN、静态路由,三层交换机综合配置
组件传值 provide/inject
Web container and IIS --- Middleware penetration method 1
Daily practice of LeetCode - palindrome structure of OR36 linked list
LeetCode每日一练 —— OR36 链表的回文结构
IIR filter and FIR filter
Bubble sort, selection sort, insertion sort, binary search directly
安全20220718
Redis counts new and retained users
两个地址池r2负责管地址池r1负责管dhcp中继
The BP neural network
Safety 20220718
[C language] General method for finding the sum of the greatest common factor and the least common multiple of two integers m and n, the classical solution
Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
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
高等数学---第九章二重积分
Win10 CUDA CUDNN installation configuration (torch paddlepaddle)
RESTful api接口设计规范
已解决:不小心卸载pip后(手动安装pip的两种方式)