MySQL错误:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
问题是在配置MySQL主从机时候,需要授权出现密码不满足当前政策要求(密码安全等级)。
我出现错误的时候是,grant授权的时候。
首先查看一下密码安全设置
SHOW VARIABLES LIKE 'validate_password%';
如果如下图,已经将等级全部调到最低了
如果不是最低权限,设置为最低权限
set global validate_password_policy=LOW; \\等级set global validate_password_length=6; \\长度
对从库授权:
grant replication slave on *.* to 'duomu'@'192.168.102.135';
但是还是报错: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
原因是,我设置用户的时候,没有设置192.168.102.135的用户密码,这就相当于空密码。
查看用户信息
use mysqlselect host,user,authentication_string,plugin from user;
可以看到没有192.168.102.135的用户
创建用户
create user 'duomu'@'192.168.102.135' identified by '123456' password expire never;grant all privileges on duomu.* to 'duomu'@'192.168.102.135';
再次查看,可以看到添加了192.168.102.135用户
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
环境 mysql> select version(); +-----------+ | version() | +-----------+ | 8.0.16 | +-----------+ 报错 ...
- 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授权失败ERROR 1819 (HY000): Your password does not satisfy the current policy requirements解决
问题: 在ubuntu 18.04 LTS上安装mysql-server 5.7后进行授权操作: 授权语句: grant all on *.* to root@'%' identified by '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用户随机 ...
- 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.问题 ...
- MySQL 8.0 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 8. ...
- MySQL修改root用户密码 报错ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
修改 root 密码 alter user user() identified by '数字 & 大写字母 & 小写字母 & 特殊符号'; 是不是觉得密码又难有复杂 没事还有办 ...
- ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
mysql中初始密码长度为8,当你更改MySQL密码策略后 mysql> set global validate_password_policy=0; 并且设置简单好记的密码后 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 这是 mysql 初始化时,使用临 ...
最新文章
- es dsl java api_ElasticSearch 系列 - RestFulAPI(DSL)
- swift_042(Swift的typealias(别名)的用法)
- C什么k什么_G、D、C、Z、T、K、L、Y,这些字母和火车级别有什么关系
- Openstack Nova 源码分析 — RPC 远程调用过程
- 异常导致循环退出_Java异常有哪些?异常怎么处理?
- 这 30 个常用的 Maven 命令你必须熟悉!
- 工作145:vue里面取消console和debugger
- 【转】语义化版本 2.0.0
- SpringMVC学习--参数绑定
- 【纪中集训】2019.08.10【NOIP提高组】模拟 A 组TJ
- 视图自己定义旋转动画 相似百度音乐
- 一卡通充值系统c语言,一卡通充值,一卡通充值中心,一卡通充值系统,一卡通充值转账系统 - 新开普(NewCapec)...
- 代码实现 | 方程组的实现
- STM32CubeIDE 下载与安装步骤(一)
- 合格PLC电气工程师需要会什么?
- 乐高收割机器人_乐高机器人这个大坑,为啥大家都拽着孩子往里跳?(想了解乐高机器人比赛看这一篇就够了)...
- RK系列(RK3568) 收音机tef6686芯片驱动,i2c驱动
- 程序员所说的「轮子」是什么东西?
- 猫眼上市后的第一份财报:不安与野心同在
- 生鲜电商淘汰赛加剧,盈利为何成“价值标尺”?