Major Services <services.major@gmail.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