时间:2021-07-01 10:21:17 帮助过:4人阅读
发现改密码不行 , 修改密码策略也不行 , 你需要 ,这样改密码
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘root_123R‘;
然后再运行以下指令
set global validate_password.policy=0; set global validate_password.length=1;
接着改上自己的简单密码: OK这样就好了 ,我这次的简单密码就是 ‘123456‘
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘123456‘;
2.创建用户.
CREATE USER ‘hive‘@‘localhost‘ IDENTIFIED BY ‘hive‘; CREATE USER ‘hive‘@‘%‘‘ IDENTIFIED BY ‘hive‘;
3.接着就是刷新和 授予权限
FLUSH PRIVILEGES; grant all privileges on *.* to ‘hive‘@‘%‘; grant all privileges on *.* to ‘hive‘@‘localhost‘;
Linux MySQL8 Unknown system variable 'validate_password_policy'Your password does not satisfy
标签:div sql bsp localhost 需要 oca font 用户 ati