org.postgresql.util.PSQLException: Protocol error. Session setup failed - Mailing list pgsql-jdbc

From Major Services
Subject org.postgresql.util.PSQLException: Protocol error. Session setup failed
Date
Msg-id 375c2da1003090851h36daef83v2ced94b02051b08b@mail.gmail.com
Whole thread Raw
Responses Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (dmp <danap@ttc-cmc.net>)
Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
List pgsql-jdbc
I am trying to connect to PostgreSQL database on my local system.

The code is:

Class.forName("org.postgresql.Driver");
String url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=major";
Connection conn = DriverManager.getConnection(url);

Running the code I get:

org.postgresql.util.PSQLException: Protocol error. Session setup failed.

Using postgresql-8.4-701.jdbc3 on PostgreSql 8.4






pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Driver not returning the type for TYPEs
Next
From: dmp
Date:
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed