postgresql – psql:FATAL:Ident验证失败的用户“postgres”
发布时间:2020-12-13 16:58:02 所属栏目:百科 来源:网络整理
导读:我已经在我的Ubuntu Karmic框中安装了PostgreSQL和pgAdminIII。 我可以使用pgAdminIII成功(即连接/登录),但是当我尝试使用相同的用户名/ pwd在命令行(使用psql)登录服务器,我得到错误: psql: FATAL: Ident authentication failed for user "postgres" 现
我已经在我的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怎么做。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |