问题: 在ubuntu 18.04 LTS上安装mysql-server 5.7后进行授权操作:

授权语句:

grant all on *.* to root@'%' identified by '123456' with grant option;

报下面错误:

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

出现上面错误的原因是因为SQL有密码策略导致的,执行下面两个语句后进行密码策略修改:

set global validate_password_policy=0;
set global validate_password_length=4;

现在在执行授权语句

grant all on *.* to root@'%' identified by '123456' with grant option;

授权成功了:

mysql5.7授权失败ERROR 1819 (HY000): Your password does not satisfy the current policy requirements解决相关推荐

  1. 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 初始化时,使用临 ...

  2. 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 解决办法: ...

  3. 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用户随机 ...

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

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

  5. MySQL错误:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

    问题是在配置MySQL主从机时候,需要授权出现密码不满足当前政策要求(密码安全等级). 我出现错误的时候是,grant授权的时候. 首先查看一下密码安全设置 SHOW VARIABLES LIKE ' ...

  6. 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环境下 ...

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

    环境 mysql> select version(); +-----------+ | version() | +-----------+ | 8.0.16 | +-----------+ 报错 ...

  8. 解决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再修改密码时 ...

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

    操作数据库时提示ERROR 1819 (HY000): Your password does not satisfy the current policy requirements问题. 原因是因为M ...

最新文章

  1. NIPS 2017录用论文先睹为快!论文作者清华专场分享(附PPT下载)
  2. 你的sql查询为什么这么慢?
  3. binary search完整笔记
  4. IDE之Visual Studio Code:Visual Studio Code的简介、安装、使用方法之详细攻略
  5. php 单例模式的日志类,php单例模式实现日志处理类库
  6. POJ 计算几何专项训练(1) 【2318】【2398】【3304】【2653】【1556】【1066】...
  7. Java循环案例-求PI值
  8. 全志 系统时间同步到RTC Patch
  9. java der pem_JAVA解析各种编码密钥对(DER、PEM、openssh公钥)
  10. [c#基础]使用抽象工厂实现三层
  11. 计组之数据运算:12、加法器设计
  12. ELK应用之一:ELK平台搭建部署
  13. VMware 修复 Workstation、Fusion 和 ESXi中的多个漏洞
  14. 我的pycharm+python常用快捷键(复习防遗忘版)
  15. Vue.js 与 Webpack externals 的使用
  16. 130 MySQL字段完整性约束(重要)
  17. Dijkstra算法python可视化实现
  18. 飞鸽传书2007绿色版EM为内部即时通讯
  19. js如何往数组Array中添加删除元素
  20. 例题5.20 秦始皇修路 LA5713

热门文章

  1. 【Nodejs】理想论坛帖子爬虫1.02
  2. 信用卡申请已获批,等待领卡中...
  3. 从0开始搭建SQL Server 2012 AlwaysOn 第一篇(AD域与DNS)
  4. 移动联通为iphone鹬蚌相争 中国电信渔翁得利
  5. RMP安装ImageMagick
  6. Ubuntu格式化U盘方法
  7. web网络安全——网站入侵(三)
  8. html三角形渐变颜色,三角形箭头的css渐变
  9. CentOS: 永远有多远就离它多远
  10. 各种排序算法的详细总结与比较