当前位置:   article > 正文

PostgreSQL错误:致命:角色“用户名”不存在_角色system不存在

角色system不存在

本文翻译自:PostgreSQL error: Fatal: role “username” does not exist

I'm setting up my PostgreSQL 9.1. 我正在设置我的PostgreSQL 9.1。 I can't do anything with PostgreSQL: can't createdb , can't createuser ; 我不能做任何事情的PostgreSQL:不能createdb ,不能createuser ; all operations return the error message 所有操作都返回错误消息

Fatal: role h9uest does not exist

h9uest is my account name, and I sudo apt-get install PostgreSQL 9.1 under this account. h9uest是我的帐户名,我在这个帐户下sudo apt-get install PostgreSQL 9.1。
Similar error persists for the root account. root帐户仍然存在类似的错误。


#1楼

参考:https://stackoom.com/question/o0mF/PostgreSQL错误-致命-角色-用户名-不存在


#2楼

Use the operating system user postgres to create your database - as long as you haven't set up a database role with the necessary privileges that corresponds to your operating system user of the same name ( h9uest in your case): 使用

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号