无法登录phpPgAdmin [英] Can't login in to phpPgAdmin

查看:73
本文介绍了无法登录phpPgAdmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Yum在CentOS VPS上安装了phpPdAdmin(5.1)。我还使用Yum在服务器Postgres 9.3.4上安装了它。我可以从终端登录到使用psql创建的用户帐户。但是,当我尝试登录phpPgAdmin时,它说loginFailed(左侧服务器名称旁边也有一个红叉),我更改了conf.d / phpPgAdmin文件并添加了全部允许行。我不知所措,我正尝试登录phpPgAdmin,以便可以开始使用数据库系统,但找不到任何提供解决方案或疑难解答的网站,有人可以看到我的错误或突出常见原因吗? p>

I have installed phpPdAdmin (5.1) using Yum on to a CentOS VPS. I have installed on the server Postgres 9.3.4 also using Yum. I am able to log in to a user account I have created using psql from terminal. However when I try and log in to phpPgAdmin it says loginFailed (also there is a red cross next to the server name on the left), I have changed the conf.d/phpPgAdmin file and added the line "Allow from all". I am at a loss, I am trying to log in to phpPgAdmin so I can start using the database system but I can't find any sites anywhere offering a solution or a troubleshooter, can anyone see my mistake or highlight common causes?

推荐答案

您必须确保phpPgAdmin应用程序到达PostgreSQL服务(即使它在同一服务器上)。

You must be sure that the phpPgAdmin application is arriving at the PostgreSQL service (even if it is on the same server).

检查Apache HTTP或PostgreSQL日志以获取有关该问题的提示。

Check Apache HTTP or PostgreSQL logs for hints on that issue.

诸如此类的常见问题可以通过编辑pg_hba来解决。适当配置。

Commonly problems like that are solved by editing pg_hba.conf appropriately.

这篇关于无法登录phpPgAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆