pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PSQL error connection
3+ messages / 3 participants
[nested] [flat]

* PSQL error connection
@ 2002-03-26 14:00 ee97010@fe.up.pt
  2002-04-02 18:14 ` Re: PSQL error connection Peter Eisentraut <peter_e@gmx.net>
  2002-04-02 18:16 ` Re: PSQL error connection Chad R. Larson <clarson@eldocomp.com>
  0 siblings, 2 replies; 3+ messages in thread

From: ee97010@fe.up.pt @ 2002-03-26 14:00 UTC (permalink / raw)
  To: pgsql-admin

Hello. 
I wonder if you could help me? When i tried to make a connection to my database 
Postgres by TCP/IP the following ocurred:

Warning: Unable to connect to PostgreSQL server: connectDBStart() -- connect() 
failed: Connection refused Is the postmaster running (with -i) at 'dionisio' 
and accepting connections on TCP/IP port 5432?

My PHP script is:
$conn = pg_connect("host=remote_host
                    dbname=myDB 
                    user=username 
                    password=pass");

Thanks for your atention and looking forward to hear from you soon,



               Carla Pereira



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PSQL error connection
  2002-03-26 14:00 PSQL error connection ee97010@fe.up.pt
@ 2002-04-02 18:14 ` Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2002-04-02 18:14 UTC (permalink / raw)
  To: ee97010@fe.up.pt; +Cc: pgsql-admin

ee97010@fe.up.pt writes:

> Hello.
> I wonder if you could help me? When i tried to make a connection to my database
> Postgres by TCP/IP the following ocurred:
>
> Warning: Unable to connect to PostgreSQL server: connectDBStart() -- connect()
> failed: Connection refused Is the postmaster running (with -i) at 'dionisio'
> and accepting connections on TCP/IP port 5432?

Actually reading the error message and answering the question contained
therein might be a good start.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PSQL error connection
  2002-03-26 14:00 PSQL error connection ee97010@fe.up.pt
@ 2002-04-02 18:16 ` Chad R. Larson <clarson@eldocomp.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Chad R. Larson @ 2002-04-02 18:16 UTC (permalink / raw)
  To: ee97010@fe.up.pt; pgsql-admin

At 07:00 AM 3/26/2002 , ee97010@fe.up.pt wrote:
>Warning: Unable to connect to PostgreSQL server: connectDBStart() -- 
>connect()
>failed: Connection refused Is the postmaster running (with -i) at 'dionisio'
>and accepting connections on TCP/IP port 5432?

So =is= your postmaster running with a '-i'?

Try "pg_ctl status" to find out.


         -crl
--
Chad R. Larson (CRL22)    chad@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona  85016-3228




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-04-02 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26 14:00 PSQL error connection ee97010@fe.up.pt
2002-04-02 18:14 ` Peter Eisentraut <peter_e@gmx.net>
2002-04-02 18:16 ` Chad R. Larson <clarson@eldocomp.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox