5
我在yum上安裝了Centos 6.4 64位的Postgres 8.4。我想要管理雲安裝的phpPgAdmin-5.0.4-1的Postgres數據庫(如MySQL和phpMyadmmin) 安裝phpPgAdmin-5.0.4-1後,我無法通過訪問192.168.7.4/phpPgAdmin/(192.168。)登錄到phpPgAdmin。 7.4是我的Centos的服務器),它總是說「登錄失敗」,但我敢肯定,我輸入用戶名(Postgres的)和密碼正確 這裏是我的信息,希望能幫到你:提前如何使用phpPgAdmin和Postgres
netstat -tupln | grep postmaster
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 771/postmaster
tcp 0 0 :::5432 :::* LISTEN 771/postmaster
/etc/phpPgAdmin/config.inc.php
$conf['servers'][0]['desc'] = 'PostgreSQL';
$conf['servers'][0]['host'] = '192.168.7.4';
$conf['extra_login_security'] = false;
/var/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
/var/lib/pgsql/data/pg_hba.conf
local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
謝謝。
非常感謝你,它的工作現在。 –