Answers for "command to add username and password to postgresdb"

SQL
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
0

How do I add a user to a postgres database? cli

GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
Posted by: Guest on June-16-2020
0

How do I add a user to a postgres database? cli

psql=# grant all privileges on database <dbname> to <username>
Posted by: Guest on June-16-2020

Code answers related to "command to add username and password to postgresdb"

Code answers related to "SQL"

Browse Popular Code Answers by Language