| From: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
|---|---|
| To: | "Mark Kirkwood" <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, "Major Services" <services(dot)major(at)gmail(dot)com> |
| Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed |
| Date: | 2010-03-10 18:40:42 |
| Message-ID: | 4B97934A020000250002FBC9@gw.wicourts.gov |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Major Services <services(dot)major(at)gmail(dot)com> wrote:
> "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=
> major"
> *root cause*
>
> org.postgresql.util.PSQLException: Protocol error. Session setup
> failed.
> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(
> ConnectionFactoryImpl.java:402)
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(
> ConnectionFactoryImpl.java:108)
What happens if you try to connect with:
psql -h localhost -p 5432 postgres postgres
and type major as the password when prompted?
-Kevin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Maciek Sakrejda | 2010-03-10 18:41:44 | Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed |
| Previous Message | Major Services | 2010-03-10 18:34:39 | Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed |