Answers for "how to change database 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

Code answers related to "how to change database password in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language