Re: [ADMIN] Setup and LIBPQ (Newbie)

Поиск
Список
Период
Сортировка
От Peter Mount
Тема Re: [ADMIN] Setup and LIBPQ (Newbie)
Дата
Msg-id Pine.LNX.3.95.980512190405.11866C-100000@retep.org.uk
обсуждение исходный текст
Ответ на Setup and LIBPQ (Newbie)  (Bruce Tong <zztong@laxmi.ev.net>)
Ответы Re: [ADMIN] Setup and LIBPQ (Newbie)  (Bruce Tong <zztong@laxmi.ev.net>)
Список pgsql-admin
On Tue, 12 May 1998, Bruce Tong wrote:

> I've starting writing some code against LIBPQ and the PQsetdb() call
> doesn't establish a connection. I get the following error message when I
> ran my program:
>
> "Failed to authenticate client as Postgres user 'zztong' using the default
> authentication type: be_recvauth: host-based authentication failed"

Check that you have pg_hba.conf setup correctly.

> Q: I saw somebody recommend a "-i" option for what seemed like a similar
> situation, but I don't see that option on the man pages. Is it related to
> my problem?

running postmaster with -i enables communication via tcp-ip sockets. The
JDBC & ODBC drivers need this to operate.

> Q: Attempts to use MS-Access with the PostODBC driver failed. Could this
> be related?

Yes (see above)

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: [ADMIN] Two postmasters
Следующее
От: Bruce Tong
Дата:
Сообщение: Re: [ADMIN] Setup and LIBPQ (Newbie)