MySQL 8.3 Release Notes
Passwords occur in several contexts within MySQL. The following sections provide guidelines that enable end users and administrators to keep these passwords secure and avoid exposing them. In addition, the validate_password
plugin can be used to enforce a policy on acceptable password. See Section 8.4.3, “The Password Validation Component”.