mysql 修改密码策略
show variables like ‘validate_password%‘; 查看密码策略
| validate_password_check_user_name | OFF |
| validate_password_dictionary_file | |
| validate_password_length | 0 |
| validate_password_mixed_case_count | 0 |
| validate_password_number_count | 0 |
| validate_password_policy | LOW |
| validate_password_special_char_count | 0 |
将各个属性修改为0,即可降低密码严格度
修改后重置密码
alter user ‘root‘@‘localhost‘ identified by ‘1234‘;
相关推荐
lpfvip00 2020-10-07
tanyhuan 2020-04-18
guotao 2020-08-15
luotuofeile 2020-07-28
要啥自行车一把梭 2020-07-18
DriveCar 2020-07-04
tangjianft 2020-07-04
wangshuangbao 2020-07-04
暗夜之城 2020-06-25
wangshuangbao 2020-06-21
KFLING 2020-06-16
muzirigel 2020-06-16
勇往直前 2020-06-14
airfling 2020-06-09
herohope 2020-06-09
淮南草 2020-06-05