Dear friends,
when I try to access Postgresql using JDBC driver I get the following exception:
Exception in thread "main" A connection error has occurred: FATAL: No pg_hba.conf entry for host 127.0.0.1, user postgres, database <db_name>
With psql I connect to database <db_name> without problem. I look to Postgresql documentation but I colud not solve the problem.
Could you please help me?
Regards
Riccardo