Answers for "how to change the user password in postgresql"

SQL
10

alter user password postgres

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

set username and password for postgresql database

sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
Posted by: Guest on August-18-2020
2

is there any command to change postgres password

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

Code answers related to "how to change the user password in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language