Skip to content

Instantly share code, notes, and snippets.

@rafirh
Last active July 18, 2023 03:58
Show Gist options
  • Save rafirh/ec8808192fb4c46d6817b219c5533e23 to your computer and use it in GitHub Desktop.
Save rafirh/ec8808192fb4c46d6817b219c5533e23 to your computer and use it in GitHub Desktop.
PosgreSQL Command
CREATE USER <username> EITH ENCRYPTED PASSWORD '<password>';
GRANT ALL PRIVILEGES ON DATABASE <database-name> TO <username>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment