postgresql – psql:FATAL:Ident验证失败的用户“postgres”

postgresql – psql:FATAL:Ident验证失败的用户“postgres”,第1张

概述我已经在我的Ubuntu Karmic框中安装了PostgreSQL和pgAdminIII。 我可以使用pgAdminIII成功(即连接/登录),但是当我尝试使用相同的用户名/ pwd在命令行(使用psql)登录服务器,我得到错误: psql: FATAL: Ident authentication failed for user "postgres" 现在有人现在如何解决这个问题吗? 你在pg 我已经在我的Ubuntu Karmic框中安装了Postgresql和pgadminIII。

我可以使用pgadminIII成功(即连接/登录),但是当我尝试使用相同的用户名/ pwd在命令行(使用psql)登录服务器,我得到错误:

psql: FATAL:  IDent authentication Failed for user "postgres"

现在有人现在如何解决这个问题吗?

你在pg_hba.conf中设置了正确的设置吗?

见https://help.ubuntu.com/stable/serverguide/postgresql.html怎么做。

总结

以上是内存溢出为你收集整理的postgresql – psql:FATAL:Ident验证失败的用户“postgres”全部内容,希望文章能够帮你解决postgresql – psql:FATAL:Ident验证失败的用户“postgres”所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/sjk/1173448.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-02
下一篇2022-06-02

发表评论

登录后才能评论

评论列表(0条)

    保存