Search Postgresql Archives

Re: On Ubuntu 12.04 i do have two psql one of those isn't working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/09/2012 12:52, Yvon Thoraval wrote:

> 
> then, the php link to the client library is faulty.

What makes you think this? Can you show the output from a PHP script
(not psql)? - something simple like...

$conn = pg_connect(....);
$rs = pg_query(....);

...just to establish whether the connection works.

> I've to find why.
> surprisingly, when from a php script i want to connect to another pgsql
> server, on another machine, by it's IPV6 addresse it works as expected...

Maybe you have Postgres set up to listen only over IPV6? However,
without seeing the actual error messages from PHP, I'm only guessing.

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux