Answers for "create password for postgres user db"

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

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

Browse Popular Code Answers by Language