Your password does not satisfy the current policy requirements

来源:互联网 发布:淘宝网男士运动套装 编辑:程序博客网 时间:2024/05/18 02:40

解决办法:

mysql> set global validate_password_policy=0;
Query OK, 0 rows affected (0.00 sec)

mysql> set global validate_password_length=6;
Query OK, 0 rows affected (0.00 sec)

mysql> exit^C
mysql> grant replication slave on *.* to 'gtiduser'@'%' identified by 'redhat';
Query OK, 0 rows affected, 1 warning (0.10 sec)

也可直接在配置文件中添加:

[mysqld]
plugin-load=validate_password.so
validate-password=FORCE_PLUS_PERMANENT
之后重启服务

阅读全文
0 0
原创粉丝点击