Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

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 = ''


In response to

pgsql-interfaces by date

Next:From: Miguel Omar CarvajalDate: 2002-03-14 15:36:00
Subject: Duplicate key
Previous:From: Constantin TeodorescuDate: 2002-03-14 06:52:38
Subject: Re: pgaccess error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group