Note
This variable is available starting with V2.2.77.
Description
validate_password_mixed_case_count specifies the minimum number of uppercase and lowercase letters in a user password.
Privilege requirements
Query variables
systenants and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) and theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to view the value of a Global system variable.Modify variables
systenants can directly modify the value of a Global system variable.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the value of a Global system variable.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value of a Global system variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Uint |
| Default value | 0 |
| Value range | [0,2147483647] |
| Scope | Global |
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Usage
This variable takes effect only when the value of validate_password_policy is MEDIUM.
Examples
Set the minimum number of uppercase and lowercase letters in a user password to 3.
obclient> SET GLOBAL validate_password_mixed_case_count= 3;
References
For more information about password complexity, see Password complexity.