PSQL error connection 
Author Message
 PSQL error connection

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

---------------------------(end of broadcast)---------------------------



Sun, 19 Sep 2004 01:57:24 GMT
 PSQL error connection


Quote:
>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
--

   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona  85016-3228

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Sun, 19 Sep 2004 04:03:07 GMT
 PSQL error connection

Quote:

> 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.

--

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Sun, 19 Sep 2004 04:11:58 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Someone's broken psql's connection-failure error reporting

2. psql: relocation error: psql: undefined symbol: PQgetssl

3. psql:relocation error:psql:unfefined symbol: PQgetssl

4. Error 10057 / Error 3111 Accessing PSQL2K SP1 With PSQL SP3 Client

5. WIN32 PSQL 2000, WIN32 trashing Db Connections.

6. ssl connections with psql

7. Connection difficulities, PSQL 2000, NetWare 5.1

8. P.SQL 2000i SP3 - ODBC DSN less connection.

9. Remote connection via psql

10. Connection delays to P.SQL v7 from ActiveX

11. P.SQL connections not dropped

12. PSQL 2000/SP2: Unable to get ODBC connection


 
Powered by phpBB® Forum Software