Re: TCP/IP database connection problem with pgaccess

From: Marc Blanc <interlud(at)wanadoo(dot)fr>
To: <h1jin(at)ucsd(dot)edu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: TCP/IP database connection problem with pgaccess
Date: 2002-03-14 07:37:00
Message-ID: 20020314083700.7b4e0a60.interlud@wanadoo.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Tue, 12 Mar 2002 11:00:00 -0800
"Hong Jin" <h1jin(at)ucsd(dot)edu> wrote:

>I installed pgaccess and was able to bring up the interface. But when I try
>to open a database, I got an error message of "Error trying to connect to
>database databasename on host IPaddress. Is the server running on host
>...(host IP address or localhost) and accepting TCP/IP connections on port
>5432?".

See your "postgresql.conf" (for me it's in /var/lib/pgsql/data), you
must have these lines uncommented :

#
# Connection Parameters
#
tcpip_socket = true
#ssl = false

#max_connections = 32 # 1-1024

port = 5432
#hostname_lookup = false
#show_source_port = false

#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777

#virtual_host = ''

#krb_server_keyfile = ''

regards.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Miguel Omar Carvajal 2002-03-14 15:36:00 Duplicate key
Previous Message Constantin Teodorescu 2002-03-14 06:52:38 Re: pgaccess error