当前位置:网站首页>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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
猜你喜欢

23.卷积神经网络实战-ResNet

磁盘与文件系统管理

Don't know about SynchronousQueue?So ArrayBlockingQueue and LinkedBlockingQueue don't and don't know?

什么是低代码(Low-Code)?低代码适用于哪些场景?

【HCIP】BGP小型实验(联邦,优化)

Are test points the same as test cases?

C language character and string function summary (2)

Disk and file system management

GIF making - very simple one-click animation tool

Routing strategy
随机推荐
PowerBI商学院佐罗BI真经连续剧
Knowing the inorder traversal of the array and the preorder traversal of the array, return the postorder history array
基于编码策略的电网假数据注入攻击检测
Pytorch seq2seq 模型架构实现英译法任务
Web开发
DFS详解
请教一下本网站左下角的动漫人物是怎么做的?
使用jOOQ将Oracle风格的隐式连接自动转换为ANSI JOIN
2022/08/01 学习笔记 (day21) 泛型和枚举
期货开户手续费加一分是主流
管理基础知识20
How to design a circular queue?Come and learn~
思维导图,UML在线画图工具
The Statement update Statement execution
Quick solution for infix to suffix and prefix expressions
Difference between JSP out.print() and out.write() methods
信息物理系统状态估计与传感器攻击检测
What does the errorPage attribute of the JSP page directive do?
期货开户调整交易所保证金标准
JSP page指令errorPage属性起什么作用呢?