MySQL Forums
Forum List  »  Install & Repo

MySQL 8.0.28 is not allowing validate_password variables in /etc/my.cnf
Posted by: James Anderson
Date: June 16, 2022 11:22AM

I have looked but don't see a similar issue anywhere. Server OS is Red Hat Linux 8 MySQL version 8.0.28 This section of the my.cnf file issues errors when I try to start mysqld:

validate_password.check_user_name=1
validate_password.dictionary_file=/usr/share/dict/words
validate_password.length=30
validate_password.mixed_case_count=1
validate_password.number_count=1
validate_password.policy=2
validate_password.special_char_count=1
password_reuse_interval=3650
checking my.cnf with mysqld and the --validate-config option:

> mysqld --defaults-file=/etc/my.cnf --validate-config
2022-06-16T13:46:46.323049Z 0 [ERROR] [MY-000067] [Server] unknown variable 'validate_password.dictionary_file=/usr/share/dict/words'.
2022-06-16T13:46:46.323088Z 0 [ERROR] [MY-010119] [Server] Aborting
That is after I commented out the check_user_name line in the my.cnf

The component_validate_password component is loaded. This my.cnf works with 8.0.26!

Any ideas on what I can try to make this work? Thanks in advance.

Options: ReplyQuote


Subject
Written By
Posted
MySQL 8.0.28 is not allowing validate_password variables in /etc/my.cnf
June 16, 2022 11:22AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.