If you use the correct path from installation postgres should be found in
where resides a directory called "data"
Inside that directory there is a file called pg_hba.conf which contains
whose hosts permissions are granted.
Check if local connections are allowed, or if you are not connecting from
the same host in which the database resides, check the permissions for the
range of ip adress you are connecting of.
I have the same problem with Perl modules, I dont know if Postgres need a
module for Java, but if it needs a module for Java check the installation
process, specially if you have to register an environment variable. like
POSTGRES_INCLUDE or POSTGRES_LIB, that works for me.
Hope can help you
From: Edgar Saenz [mailto:edgarsaenz(at)programmer(dot)net]
Sent: Thursday, June 10, 2004 8:36 AM
Subject: [NOVICE] Help with JSP connection with postgreSQL
Hello, I am having problems connecting to postgreSQL from my JSP page.
I have followed the instructions from other mailing lists and have
started the DB with postmaster with the -i option. Also, the
postgresql.conf, I have set the parameter
tcpip_socket = true
When I try to connect, I just dont get a connection object.
My working environment is:
-Red Hat Linux
I have runned out of options, any suggestions will be greatly appreciated.
Thanks in advance!!
Sign-up for Ads Free at Mail.com
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
pgsql-novice by date
|Next:||From: Markus Bertheau||Date: 2004-06-10 17:51:21|
|Subject: Re: Character encoding in database dumps|
|Previous:||From: Tom Lane||Date: 2004-06-10 15:53:20|
|Subject: Re: query planner woes |