我正在设置我的PostgreSQL 9.1。我无法使用PostgreSQL做任何事情:不能创建数据库
,不能创建用户
,所有操作都返回错误消息。
我正在配置PostgreSQL 9.1,但无法执行创建数据库或创建用户等任何操作,所有操作都返回错误消息。
Fatal: role h9uest does not exist
h9uest
是我的账户名,在这个账户下我使用 sudo apt-get install
安装了 PostgreSQL 9.1。
root
账户出现了类似的错误。
FATAL: role "user" is not permitted to log in
的问题,请参考http://dba.stackexchange.com/questions/57723/superuser-is-not-permitted-to-login。 - therole doesn't exist
和can't create role, it already exists
的错误,请查看这个答案:https://dev59.com/T6Dia4cB1Zd3GeqPH7Ni#56658832 - Jonathan