Postgres user create database

前端 未结 1 1499
暗喜
暗喜 2021-02-03 20:25

I am unable to create databases using my postgres client with the user I log in as.

I am having trouble figuring out how increase the privileges of my user. I have acces

1条回答
  •  时光说笑
    2021-02-03 20:56

    I don´t know of a postgres GUI, but here's how to do it in the psql-console (logged in as the superuser):

    => ALTER USER your_username CREATEDB;
    

    See http://www.postgresql.org/docs/current/interactive/sql-alteruser.html for more info.

    0 讨论(0)
提交回复
热议问题