v.22.10Improvement
Add allow_implicit_no_password Setting to Enforce Password Requirements
Add settingallow_implicit_no_password: in combination withallow_no_passwordit forbids creating a user with no password unlessIDENTIFIED WITH no_passwordis explicitly specified. #41341 (Nikolay Degterinsky).
Why it matters
This feature enhances security by ensuring that users cannot be created without a password unintentionally. It requires explicit declaration for passwordless users, reducing the risk of unauthorized access due to implicit no-password user creation.How to use it
To enable this feature, setallow_implicit_no_password to 0 (false) alongside allow_no_password. This combination forbids creating users without a password unless the user is explicitly created using IDENTIFIED WITH no_password syntax.