CREATE USER

Create a new database user.

Table of Contents

Synopsis

CREATE USER username;

Description

CREATE USER is a management statement to create a new database user in the CrateDB cluster. The newly created user does not have any special privileges. The created user can be used to authenticate against CrateDB, see Host Based Authentication (HBA).

For usage of the CREATE USER statement see User Management.

Parameters

username:The unique name of the database user. The name follows the principles of a SQL identifier (see Key Words and Identifiers).