Answers for "set password for user postgres"

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
3

how to connect postgres user password using command line

sudo -u postgres psql postgres
Posted by: Guest on October-04-2020
0

how to connect postgres user password using command line

\password postgres
Posted by: Guest on October-04-2020

Code answers related to "set password for user postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language