标签:执行 yellow password sql 信息 use nts mysql known
1、在安装MySQL8.0时,修改临时密码,因密码过于简单(如:123456),不符合MySQL密码规范,会触发一个报错信息:
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements。
MySQL 8.0 调整密码验证规则:
mysql> set global validate_password.policy=0;
mysql> set global validate_password.length=1;
之后,执行
alter user ‘root‘@‘localhost‘ identified by "1234";即可;
解决MySQL8.0报错:Unknown system variable 'validate_password_policy'
标签:执行 yellow password sql 信息 use nts mysql known
原文地址:https://www.cnblogs.com/renzmin/p/12079133.html