📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

DROP ROLE



Removes the specified role from the system.

Syntax

DROP ROLE [ IF EXISTS ] <role_name>

Usage Notes

  • If a role is a grant to users, TiDB Cloud Lake can't drop the grants from the role automatically.

Examples

DROP ROLE role1;

Was this page helpful?