DROP USER

USAGE

Common Syntax:

DROP USER [IF EXISTS] <xpand_user_name> [, <xpand_user_name>] ...

DETAILS

MariaDB Xpand's DROP USER statement has some differences from MariaDB Enterprise Server:

  • The user account can't be specified using CURRENT_USER, CURRENT_USER(), or SESSION_USER()

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

DROP USER

To delete a user:

DROP USER usr1;

Delete Multiple Users

To delete multiple users at once, list them in the DROP USER statement:

DROP USER usr1, usr2, usr3;

If some of the users in the argument list do not exist, MariaDB Xpand returns an error listing non-existing users it was unable to drop, and no existing users named in the argument list get deleted.

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES