设置有关于密码的东西时密码很简单产生错误
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
产生的原因:
自定义密码太简单,出现了不符合密码策略的问题
查看 mysql 初始的密码策略
SHOW VARIABLES LIKE ‘validate_password%‘;
修改策略,及密码长度
set global validate_password_policy=0;
set global validate_password_length=1;
再次执行失败之前的语句就好了
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
原文:https://www.cnblogs.com/lodger47/p/15246393.html