Outdated Version

You are viewing an older version of this section. View current production version.

DROP GROUP

Remove a group from a MemSQL cluster.

Syntax

DROP GROUP [IF EXISTS] 'group_name'

Remarks

  • IF EXISTS is available in 6.0.15 or later.

Example

memsql> SHOW GROUPS;
+---------+
| Groups  |
+---------+
| group_0 |
+---------+
1 row in set (0.00 sec)

memsql> DROP GROUP 'group_0';
Query OK, 0 rows affected (0.22 sec)

memsql> SHOW GROUPS;
Empty set (0.00 sec)