Difference between revisions of "PostgreSQL: CREATE USER"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
  create user your_username;
 
  create user your_username;
 
+
 
  Output:
 
  Output:
 
  [[CREATE ROLE]]
 
  [[CREATE ROLE]]

Revision as of 08:27, 10 August 2021

  • 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: