mysql current password policy code example
Example 1: Your password does not satisfy the current policy requirements
SHOW VARIABLES LIKE 'validate_password%';
Example 2: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
mysql> SET GLOBAL validate_password.policy=LOW;