Re: [DB] connection to database

From: Date: Thu, 11 Sep 2003 20:41:01 +0000
Subject: Re: [DB] connection to database
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7746@lists.php.net to get a copy of this message
Yes it works, thank you. That's strange that i don't need to specify the path to the socks !!! "Alexey Borzov" <borz_off@cs.msu.su> a écrit dans le message de news: 3F60BFDE.5070601@cs.msu.su... > Hi! > > phpCoder wrote: > > On my local web server, localhost works fine too but with my provider here > > is the error message : > > > > Warning: pg_connect(): Unable to connect to PostgreSQL server: could not > > connect to server: Connection refused Is the server running on host > > localhost and accepting TCP/IP connections on port 5432? > > This usually means Postgres was configured to accept connections on local socket > only. Looking at DB doc, try the following: > pgsql://user@unix()/dbname

« previous php.pear.general (#7746) next »