Answers for "postgres user change password"

10

alter user password postgres

ALTER USER user_name WITH PASSWORD 'new_password';
Posted by: Guest on March-12-2021
2

is there any command to change postgres password

ALTER USER user_name WITH PASSWORD 'new_password';
Posted by: Guest on March-12-2021
-1

postgresql user permissions to database

sudo -u postgres 
psqlpostgres=# create database mydb;
postgres=# create user myuser with encrypted password 'mypass';
postgres=# grant all privileges on database mydb to myuser;
Posted by: Guest on October-07-2020

Code answers related to "postgres user change password"

Browse Popular Code Answers by Language