Answers for "how to create password for postgres user"

3

setup password psql

sudo -u postgres psql postgres
password postgres
q
Posted by: Guest on March-09-2021
0

postgres create admin user with password

sudo -u postgres createuser -s -i -d -r -l -w <<username>>
sudo -u postgres psql -c "ALTER ROLE <<username>> WITH PASSWORD '<<password>>';"
Posted by: Guest on April-14-2021
-1

how to connect postgres user password using command line

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

Code answers related to "how to create password for postgres user"

Browse Popular Code Answers by Language