SQL创建新用户时默认的密码长度是8位,如果长度不满足8位,此时会报错:“Your password does not satisfy the current policy requirements”,这时候需要对默认的密码长度进行修改:show variables like 'varidate_password%';    /*查看变量中是否有密码校验*/select plugin_name,plugin_status from information_schema.plugins where plugin_name like 'varidate';   /*查看变量中是否有校验类插件*/若果没有,需要安装:install plugin validate_password soname 'varidate_password.so';    /*安装密码校验插件*/select plugin_name,plugin_status from information_schema.plugins where plugin_name like 'varidate';    /*查看是否安装成功*/show plugins;    /*查看严格限制密码的插件“validate_password%”*/show variables like 'validate_password%';    /*查看相关变量*/set global validate_password_policy=0;   /*设置密码强度等级为0(0:只查长度;1:数字、大小写、字符;2:查特殊字符字典文件)*/set global validate_password_length=4;    /*设置密码长度为4*/flush privileges;    /*刷新权限*/show variables like 'validate_password%';     /*再次查看*/

SQL设置密码-Your password does not satisfy the current policy requirements相关推荐

  1. mysql 设置密码出现ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

    ERROR 1819 (HY000): Your password does not satisfy the current policy requirements MySQL5.7为root用户随机 ...

  2. ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

    ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 这是 mysql 初始化时,使用临 ...

  3. ERROR 1819 (HY000) Your password does not satisfy the current policy requirements

    mysql中初始密码长度为8,当你更改MySQL密码策略后 mysql> set global validate_password_policy=0; 并且设置简单好记的密码后 mysql> ...

  4. mysql修改密码报错:Your password does not satisfy the current policy requirements

    这是 mysql 初始化时,使用临时密码,修改自定义密码时,由于自定义密码比较简单,就出现了不符合密码策略的问题. 密码策略问题异常信息: ERROR 1819 (HY000): Your passw ...

  5. 解决 MySQL 5.7 中 Your password does not satisfy the current policy requirements. 问题

    Mac OS X 下通过 Brew 安装 MySQL 后,默认密码为空,然后运行 mysql_secure_installation 命令设置密码 然后我手贱的在密码强度那里输入了 2(真2了...) ...

  6. 解决更改mysql密码时报错Your password does not satisfy the current policy requirements问题

    输入ALTER USER 'root'@'localhost' IDENTIFIED BY 'python123'; 然后报错Your password does not satisfy the cu ...

  7. MySQL解决-Error:Your password does not satisfy the current policy requirements

    背景 MySQL版本:Server version: 5.7.27-0ubuntu0.18.04.1 (Ubuntu) 前言 今天打算在MySQL创建用户时遇到了下面这个错误: mysql> C ...

  8. mysql 之 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements问题

    密码策略问题异常信息: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 解决办法: ...

  9. MySQL问题:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

    文章目录 MySQL问题:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 1.问题 ...

最新文章

  1. java远程方法调用(rmi)--好_RMI-Java远程方法调用的实现(二)
  2. 一个代理商×××条件
  3. 【Linux 内核 内存管理】Linux 内核堆内存管理 ① ( 堆内存管理 | 内存描述符 mm_struct 结构体 | mm_struct 结构体中的 start_brk、brk 成员 )
  4. 语音增强效果的测试方法
  5. 为什么虚拟机上一运行就显示程序停止_五分钟学Java:如何学习Java面试必考的JVM虚拟机||CSDN博文精选...
  6. Winform里面的缓存,MemoryCache使用
  7. 如何在 Linux 终端中一次运行多个 Linux 命令(初学者教程)
  8. 现代书法脚本字体Tifany Script
  9. endnotex7怎么导入中文文献_EndNote导入CNKI文献的方法 | 科研动力
  10. java 中文文件路径乱码 解决方法
  11. 大学计算机ps教程 pdf,Photoshop中文教程.pdf
  12. IT名企面试:微软笔试题
  13. docker 编译 文件 执行 dockerfile 报错 :debconf: delaying package configuration, since apt-utils is not ins
  14. Python3.6支付宝账单爬虫
  15. nodejs追加写入日志文件
  16. 1.9G的视频被压缩为64K
  17. Vodafone 移动终端声质量评价
  18. 达人评测i51235u和i51135g7哪个好
  19. 如何利用云服务器快速部署一个静态网页
  20. 系统迁移到固态硬盘--高贵的ASUS版

热门文章

  1. IRubberBand接口(橡皮条绘制点、线、面)
  2. 2015,我的转折点
  3. 交通违章,网上缴纳网站
  4. JSP技术(3)传智书城
  5. 877131-21-0,4-溴-2-乙基苯甲醇,(4-bromo-2-ethylphenyl)methanol的化学表征
  6. Linux Python利用海康相机C++SDK(丝滑取流)
  7. 基于QT实现的可视化地铁换乘查询系统
  8. 图片内容怎么转成文字?两个方法分享给你
  9. java连连看怎么添加消除音效_脏话屏蔽音效Bi怎么添加制作?教你优雅的快速消音...
  10. 十年修得同船渡 ——苏宁与齐治的故事