CentOS 7 下使用yum安装MySQL5.7.20 最简单 图文详解
https://blog.csdn.net/z13615480737/article/details/78906598
linux CentOS 7.4下 mysql5.7.20 密码改简单的方法
进入mysql
mysql> SHOW VARIABLES LIKE 'vali%';
+--------------------------------------+--------+
| Variable_name | Value |
+--------------------------------------+--------+
| validate_password_dictionary_file | |
| validate_password_length | 8 |
| validate_password_mixed_case_count | 1 |
| validate_password_number_count | 1 |
| validate_password_policy | MEDIUM |
| validate_password_special_char_count | 1 |
+--------------------------------------+--------+
6 rows in set (0.00 sec)
根据官方文档可以发现策略为1,即MEDIUM
5.7默认会安装这个插件,若