当时想做的事情,是运行一个创建数据库的脚本。找到的解决方案差不多和下面这个链接相同。

http://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist

实际上做的事情就是login in 用别的帐号

然后 ,在postgres的虚拟机里(而不是terminal)

CREATE USER postgres SUPERUSER;

实际上这个对我来说就够了。解决了 role does not exist的问题。

相关文章:

  • 2021-12-09
  • 2021-07-27
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2021-07-17
  • 2021-10-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
相关资源
相似解决方案