Search
 
SCRIPT & CODE EXAMPLE
 

SQL

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

GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
Comment

postgres server add user

sudo -u postgres createuser -e <name>
Comment

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

psql=# grant all privileges on database <dbname> to <username>
Comment

PREVIOUS NEXT
Code Example
Sql :: sql to excel pgadmin 
Sql :: sql subquery 
Sql :: sql order by 
Sql :: mysql copy data from one table to another 
Sql :: delete sql 
Sql :: sql server get number of working days in a month 
Sql :: end mysql command 
Sql :: create user in mysql 
Sql :: sql delete table 
Sql :: what are the data types in sql 
Sql :: postgres execute multiple sql file from command line 
Sql :: incorrect datetime value sql table error 1292 
Sql :: how to left join a sub query in postgresql 
Sql :: trigger sql server 
Sql :: mysql current date between two dates 
Sql :: sql output parameters 
Sql :: import database from sql file 
Sql :: what is auto increment in sql 
Sql :: ms sql select datetime as date 
Sql :: limit rows after order by oracle 
Sql :: how to join result table in mysql 
Sql :: order by in sql 
Sql :: install sql server windows 10 
Sql :: app times 
Sql :: concat column value of same user in mysql 
Sql :: mysql remote connection macos 
Sql :: how to save result of sqlite query in a table 
Sql :: sql server udf performance 
Sql :: concatenate sqlites 3 
Sql :: multiple like values for single column postgres 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =