Created
June 5, 2023 17:16
-
-
Save eduavila/6826d93059fdb388fad9bb41b5a2c656 to your computer and use it in GitHub Desktop.
Criar usuário POSTGRES.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE nome_banco; | |
CREATE USER usuario_banco WITH PASSWORD 'senha...'; | |
GRANT ALL PRIVILEGES ON DATABASE nome_banco TO usuario_banco; | |
ALTER USER usuario_banco WITH PASSWORD 'nova senha..'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment