MySQL创建用户,设置密码时提示密码安全问题.
问题:
create user maxwell@’%’ IDENTIFIED by ‘maxwell’;
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
解决:
SHOW VARIABLES LIKE ‘validate_password%’;
set global validate_password_policy=LOW;
set global validate_password_length=6;
还没有评论,来说两句吧...