[root@ip-172-31-43-199 ~]# mysql -V
mysql Ver 8.0.27 for Linux on x86_64 (MySQL Community Server - GPL)
Password policy problem exception information:
error 1819 (HY000): your password does not satisfy the current policy requirements
terms of settlement:
1. View the initial password policy of MySQL,
enter the statement show variables like 'validate_ password%'; Code> view,
as shown in the following figure:
this is what I modified:
2. First, set the verification strength level of the password,
set validate_ password_ If the global parameter of policy is low,
enter the set value statement set global validate_ password.policy=LOW; Code> to set the value,
Parameters related to MySQL password policy
1)、validate_ password_ Length the total length of the fixed password
2)、validate_ password_ dictionary_ File specifies the file path for password authentication
3)、validate_ password_ mixed_ case_ Count the total number of large/small letters in the whole password
4)、validate_ password_ number_ Count the number of Arabic numerals at least in the whole password
5)、validate_ password_ Policy specifies the strength and authentication level of the password. The default value is medium
about validate_ password_ Value of policy: 0/low: only verify the length; 1/medium: verify the length, number, case and special characters; 2/strong: verify the length, number, case, special characters and dictionary file
6)、validate_ password_ special_ char_ Count the number of special characters at least in the whole password;
Mysql5.1 password modification method:
set password for 'root' @ 'localhost' = password ('12121212 ');
https://blog.csdn.net/qq_ 39344689/article/details/89674079
Read More:
- ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- Linux (error 1819 (HY000): your password does not satisfy the current policy requirements)
- MySQL 8 — error in setting simple password error 1819 (HY000): your password does not satisfy the current policy requirements
- Error (1820) if the password is not changed in time after MySQL installation
- Linux-mysql8.0 password reset problem – error 1396 (HY000): Operation alter user failed for ‘root’ @’localhost ‘
- Error: the version of ZABBIX database does not match the current requirements
- MySQL error — multiple methods of failed to find valid data directory and MySQL setting password appear
- MySQL password setting error message: error 1054 (42s22): unknown column ‘password’ in ‘field list’
- Solve MySQL error 2002 (HY000)
- Error 1064 in MySQL password change
- MySQL forgot the root password
- MySQL ERROR 1054 (42S22): Unknown column’password’ in’field list’ error
- Modify the password of mysql8 on Windows
- Mysql start slave error 1201 (HY000)
- MySQL startup problem (ERROR 1045 (28000): Access denied for user’ODBC’@’localhost’ (using password: NO))
- ERROR 2005 (HY000): Unknown MySQL server host
- MySQL error 1054 (42s22) unknown column ‘password’ in ‘field list’
- ERROR 2002 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- Error 2005 (HY000) unkonw MySQL server host…
- Solution to error 2002 (HY000) in MySQL