Re: Phppgadmin

From: "Juan Miguel Paredes" <juan(dot)paredes(at)gmail(dot)com>
To: "Nabil Servais" <nabil(dot)servais(at)gmail(dot)com>
Cc: "list php-pgsql" <pgsql-php(at)postgresql(dot)org>
Subject: Re: Phppgadmin
Date: 2006-06-12 15:39:15
Message-ID: 9e0a28690606120839r6b7a28cdu89037f0ce22b9ced@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> // Hostname or IP address for server. Use '' for UNIX domain
> socket.
> $conf['servers'][0]['host'] = '';

There you're trying to use "socket" connection (which corresponds to
"local" in pg_hba.conf:

> # "local" is for Unix domain socket connections only
> local all all ident sameuser

> #local all all md5
> # IPv4 local connections:
> host all all 127.0.0.1/32 md5
> host all all 192.168.1.0/24 trust
> #host all all 192.168.1.0/24 password
> # IPv6 local connections:
> host all all ::1/128 md5

Suggestion: try changing your phppgadmin configuration with
$conf['servers'][0]['host'] = 'localhost'; (to connect via TCP/IP), or
your pg_hba configuration for md5 or your preferred auth method on
local sockets...

In response to

  • Phppgadmin at 2006-06-12 15:28:43 from Nabil Servais

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Gita Purnamasari 2006-06-14 08:56:15 Problem when connect with pgsql
Previous Message Nabil Servais 2006-06-12 15:28:43 Phppgadmin