PostgreSQL: CREATE USER

From wikieduonline
Revision as of 06:38, 9 September 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

create user, creates a new user in PostgreSQL

Examples

  • create user <username>
create user your_username;

Output:
CREATE ROLE
CREATE USER your_username WITH ENCRYPTED PASSWORD 'your_pass';

Output:
CREATE ROLE


  • List users: \du

Related terms

See also

Advertising: