DROP PASSWORD POLICY



Deletes an existing password policy from TiDB Cloud Lake. Please note that, before dropping a password policy, ensure that this policy is not associated with any users.

Syntax

DROP PASSWORD POLICY [ IF EXISTS ] <policy_name>

Examples

CREATE PASSWORD POLICY SecureLogin PASSWORD_MIN_LENGTH = 10; DROP PASSWORD POLICY SecureLogin;

Was this page helpful?