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.0 加入密码安全度检测机制,导致报错

解决:MySQL的密码安全度检测机制

修改密码检测策略

set global validate_password.policy=LOW

修改的长度要求

set global validate_password.length=长度;

刷新权限

flush privileges;

你可能感兴趣的:(错误,mysql,数据库)