Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

role "postgres" does not exist

template1=# CREATE USER username WITH PASSWORD 'user_password';
template1=# GRANT ALL PRIVILEGES ON DATABASE "user_database" to username;
Source by github.com #
 
PREVIOUS NEXT
Tagged: #role #exist
ADD COMMENT
Topic
Name
5+4 =