CREATE ROLE

Grammar Description

Create a new role in the system.

After you create a role, you can grant permissions to that role, and then grant the role to another role or to a single user.

Grammar Structure

CREATE ROLE [IF NOT EXISTS] role [, role ] ...

Example

create role role role;
Query OK, 0 rows affected (0.02 sec)
Last updated on