label: MySQL8,password,password policy requirements,
Problem: When the MySQL command line changes the password, the prompt password does not meet the requirements.
1819 (HY000): Your password does not satisfy the current policy requirements
Solution: Check the current password verification policy. If it is used in the development environment, it can be set to the minimum requirement. If it is a production environment, it needs to be carefully modified.
SHOW VARIABLES LIKE 'validate_password%';
SET global validate_password.policy=0;