MIN_PASSWORD_LENGTH option

Function

Sets the minimum length for new passwords in the database.

Allowed values

Integer, greater than or equal to zero.

The value is in bytes. For single-byte character sets, this is the same as the number of characters.

Scope

Can be set for the PUBLIC group. Takes effect immediately. DBA permissions are required to set this option.

Default

0 characters

Description

This option allows the database administrator to impose a minimum length on all new passwords for greater security. Existing passwords are not affected.

Example