1、通过SHOW VARIABLES LIKE 'validate_password%'; 查看密码设置 2、set global validate_password_policy=LOW;这样密码只验证长度了 image.png