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

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Дата
Msg-id 4B97934A020000250002FBC9@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (Major Services <services.major@gmail.com>)
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Major Services
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed