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: Your password does not satisfy the current policy requirements

SHOW VARIABLES LIKE 'validate_password%';

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

mysql> SET GLOBAL validate_password.policy=LOW;

Example 4: 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)

Example 5: remove Your password does not satisfy the current policy requirements

UNINSTALL COMPONENT 'file://component_validate_password';

Tags:

Sql Example