This article will guide you on how to resolve MySQL error 1819 (HY000) which happens when creating a MySQL user with a relatively weak password.
Because of validate_password_policy we applied on database, we are not able to change and assign simple or weak passwords it don't allow to to change password and came up with error.
To resolve this error, We can check validate_password_policy applied on machine. Also you can change your password under Low policy.
Solution to MySQL Error Your Password does not satisfy the Current Policy Requirements:
1. Set the Password_policy value to low, next is setting the same Password_Policy value in my.cnf file and the last is uninstalling the plugin that is used for validating password.
2. Set the Password_Policy to low:
Default Password level of plugin can be changed at runtime or using config file.
To do this, default authentication plugin has to be checked:
SHOW VARIABLES LIKE 'default authentication plugin';
3. For checking the current variables for validating the password you should run the following command:
SHOW VARIABLES LIKE 'validate_password%';
4. Validate_password is a variable that is used to inform the server about the validate_password plugin.
This plugin tests the passwords and improve security.
Following output will be displayed, if you run the above command:
mysql> SHOW VARIABLES LIKE 'validate_password%';