Product Solutions Support
Try MemSQL

DROP ROLE

Remove a role from a MemSQL cluster.

DROP ROLE 'role_name'

Example

memsql> SHOW ROLES;       
+-------------+
| Roles       |
+-------------+
| role_name_0 |
| role_name_1 |
| role_name_2 |
| role_name_3 |
+-------------+
4 rows in set (0.00 sec)

memsql> DROP ROLE 'role_name_0';
Query OK, 0 rows affected (0.13 sec)

memsql> SHOW ROLES;
+-------------+
| Roles       |
+-------------+
| role_name_1 |
| role_name_2 |
| role_name_3 |
+-------------+
3 rows in set (0.00 sec)
Was this article useful?