Answers for "postgresql set password for user"

SQL
10

alter user password postgres

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

setup password psql

sudo -u postgres psql postgres
\password postgres
\q
Posted by: Guest on March-09-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 "postgresql set password for user"

Code answers related to "SQL"

Browse Popular Code Answers by Language