ERROR 1819 (HY000): Your password does not satisfy the current policy requirements code example

Example 1: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql> SET GLOBAL validate_password.policy = 0;

Example 2: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql> SET GLOBAL validate_password.policy=LOW;

Example 3: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql> SET GLOBAL validate_password.policy = 0;

Example 4: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql> SET GLOBAL validate_password.policy=LOW;

Example 5: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql> SHOW VARIABLES LIKE 'validate_password%';

Example 6: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

+--------------------------------------+--------+
| Variable_name                        | Value  |
+--------------------------------------+--------+
| validate_password.check_user_name    | ON     |
| 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      |
+--------------------------------------+--------+
7 rows in set (0.09 sec)