티스토리 뷰

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

 

mysql> UPDATE user set authentication_string=password('mypassword') where user='root';

을 사용하여 비밀번호를 변경하려 하였는데 ERROR 1819가 발생하였다. 

비밀번호 정책에 적합하지 않은 비밀번호라 해당 에러가 발생한다. 

 

정책 확인 : mysql> show variables like 'validate_password%';

+--------------------------------------+--------+

| 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.01 sec)

 

해결하기 위한 방법은 세 가지이다.

1. validate_password.policy LOW 변경. 

2. validate_password 설정 플러그인 제거 후 다시 설정

3. 안전모드로 password 수정 후 로그인

 

 

댓글