From: | Carfield Yim <carfield(at)desktop(dot)carfield(dot)com(dot)hk> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Error get after upgrading postgresql server |
Date: | 2002-07-20 03:49:19 |
Message-ID: | 3D38DDBF.8020808@desktop.carfield.com.hk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi all, I get the following error after update postgresql server to 7.2
series when running jdbc project.
[cvs(at)desktop src]$ java initdb
Exception in thread "main" Something unusual has occured to cause the
driver to fail. Please report this exception: Exception:
java.sql.SQLException: FATAL 1: No pg_hba.conf entry for host
127.0.0.1, user carfield, database smartcarpark
Stack Trace:
java.sql.SQLException: FATAL 1: No pg_hba.conf entry for host
127.0.0.1, user carfield, database smartcarpark
at org.postgresql.Connection.openConnection(Connection.java:178)
at org.postgresql.Driver.connect(Driver.java:149)
at java.sql.DriverManager.getConnection(DriverManager.java:543)
at java.sql.DriverManager.getConnection(DriverManager.java:216)
at initdb.main(initdb.java:11)
End of Stack Trace
at org.postgresql.Driver.connect(Driver.java:166)
at java.sql.DriverManager.getConnection(DriverManager.java:543)
at java.sql.DriverManager.getConnection(DriverManager.java:216)
at initdb.main(initdb.java:11)
Seem I need to modify a file call pg_hba.conf, and my system have a good
sample tell me how to edit. However, I don't know where should I put the
file. Can anyone tell me?
From | Date | Subject | |
---|---|---|---|
Next Message | Agus | 2002-07-22 08:42:02 | Bug found in "jdbc7.0-1.2.jar" |
Previous Message | Chris Parsons | 2002-07-19 18:04:11 | PostgreSQL and Tomcat? |