MySQL 8 provides following system variables, status variables and options related to password validation plugin.
- validate_password_check_user_name: This is a system variable, and is enabled by default in MySQL 8. As the name implies, it is used to compare a password with the username of the currently effective user. If the password matches with the username or its reverse, MySQL 8 will reject the password, irrespective of the VALIDATE_PASSWORD_STRENGTH() function value.
- validate_password_dictionary_file: This system variable contains the pathname of the directory which is used by the validate_password plugin. You can set it at runtime without a server restart, and it is available ...