| От | Brian Cross |
|---|---|
| Тема | Can't connect to Postgres with JDBC |
| Дата | |
| Msg-id | 5040200010492297000002L072*@MHS обсуждение исходный текст |
| Ответы |
Re: [INTERFACES] Can't connect to Postgres with JDBC
|
| Список | pgsql-interfaces |
Hi,
I'm trying to connect to my postgres database(that came with RedHat
5.0) with an applet using JDBC. The driver seems to be loading fine, but I
receive this error when starting the applet:
java.sql.SQLException: Failed to authenticate client as Postgres user 'bscross'
using the default authentication type: be_recvauth: host-based authentication
failed.
The bscross user is both a system user and one I created in postgres.
Do I need to change the authentication type, and if so what does it need to be?
I have read every FAQ and HOWTO I could find with no luck. I would be forever
in debt if someone could help me out with this. Thanks!
--Brian Cross.
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера