pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Connecting to PGSQL
2+ messages / 2 participants
[nested] [flat]

* Connecting to PGSQL
@ 2002-09-03 06:07 Vikram Sulakhe <sulak001@bama.ua.edu>
  2002-09-03 13:37 ` Re: Connecting to PGSQL mlw <developer@mohawksoft.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Vikram Sulakhe @ 2002-09-03 06:07 UTC (permalink / raw)
  To: pgsql-odbc

I am using CRecordset object to access the pgSQL database. While I insert
this CRecordset Object using class wizard in Visual Studio I get following
error
"FATAL 1: No pg_hba.conf entry for host 130.160.161.142, user grade,
database oscar"

ODBC driver version: 07.02.0002
PostgreSQL database version : 7.2.1
error message: FATAL 1: No pg_hba.conf entry for host 130.160.161.142, user
grade, database oscar
the commlog(psqlodbc_????.log) file (you will have to enable the commlog
driver option) : attached
the ODBC trace log (sql.log) file (if the problem warrants it) : attached


looking forward to your reply,

Regards,
Vikram

Attachments:

  psqlodbc_3616.log (application/octet-stream, 1.1K) download

  SQL.LOG (application/octet-stream, 18.2K) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Connecting to PGSQL
  2002-09-03 06:07 Connecting to PGSQL Vikram Sulakhe <sulak001@bama.ua.edu>
@ 2002-09-03 13:37 ` mlw <developer@mohawksoft.com>
  0 siblings, 0 replies; 2+ messages in thread

From: mlw @ 2002-09-03 13:37 UTC (permalink / raw)
  To: Vikram Sulakhe <sulak001@bama.ua.edu>; +Cc: pgsql-odbc

Vikram Sulakhe wrote:
> 
> I am using CRecordset object to access the pgSQL database. While I insert
> this CRecordset Object using class wizard in Visual Studio I get following
> error
> "FATAL 1: No pg_hba.conf entry for host 130.160.161.142, user grade,
> database oscar"
> 
> ODBC driver version: 07.02.0002
> PostgreSQL database version : 7.2.1
> error message: FATAL 1: No pg_hba.conf entry for host 130.160.161.142, user
> grade, database oscar
> the commlog(psqlodbc_????.log) file (you will have to enable the commlog
> driver option) : attached
> the ODBC trace log (sql.log) file (if the problem warrants it) : attached
> 
> looking forward to your reply,
> 
> Regards,
> Vikram

That looks easy, check the pg_hba.conf file on your PostgreSQL server. It is
not configured to allow your IP address.


> 
>   -------------------------------------------------------------------------------
>                         Name: psqlodbc_3616.log
>    psqlodbc_3616.log    Type: unspecified type (application/octet-stream)
>                     Encoding: quoted-printable
> 
>               Name: SQL.LOG
>    SQL.LOG    Type: unspecified type (application/octet-stream)
>           Encoding: quoted-printable
> 
>   -------------------------------------------------------------------------------
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-09-03 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-03 06:07 Connecting to PGSQL Vikram Sulakhe <sulak001@bama.ua.edu>
2002-09-03 13:37 ` mlw <developer@mohawksoft.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox