JDBC conncetion fails, please, advise

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: JDBC conncetion fails, please, advise

Hi,

Please can you assist.

I am trying to connect to PostgreSQL via JDBC.

Database version is 8.0.1 and java software version 1.4.2.


I have configured the pg_hba.conf file as follows

host  all  all    ip_address/32   trust


ip_address is the ip_address of the host holding the database.


my connection string to postgres is as
'jdbc:postgresql://my_host:5432/my_database'


I'm getting the error message:

Connection error has occurred: org.postgresql.util.PSQLException: FATAL: missing or erroneous pg_hba.conf file



what is the problem? Please, advise.

Regards,
Leena


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux