Re: [ADMIN] ODBC Call fail? (fwd)

From: Peter Mount <pgsqladmin(at)retep(dot)org(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] ODBC Call fail? (fwd)
Date: 1998-06-01 17:36:01
Message-ID: Pine.LNX.3.95.980601183550.15203A-100000@retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-interfaces


---------- Forwarded message ----------
Date: Sun, 31 May 1998 18:52:53 +0530
From: Venugopal <venu(at)gtsl(dot)co(dot)in>
To: Peter Mount <pgsqladmin(at)retep(dot)org(dot)uk>
Subject: Re: [ADMIN] ODBC Call fail?
Newsgroups: comp.databases.postgresql.admin

Peter Mount wrote:

> On Sat, 30 May 1998, Thomas Lester wrote:
>
> > Everytime I try to hit my database from my ODBC driver I get ODBC call failed.
> > I have a pretty good idea why. I do not have an entry for postgres in my
> > /etc/services (I'm using solaris 2.6). Am I correct?
>
> You don't need an entry.
>
> Are you running the postmaster with the -i argument which enables TCP/IP
> communication?
>
>

Hi, I am facing the same problem even though i run postmaster with "-i" and -p
5432 option.
psql connects over the loopback but,
psql -d mydb -h 192.168.0.34 -p 5432 - fails to connect. (192.168.0.34 is my IP)

I rectified this by editing the /var/lib/pgsql/pg_hba.conf to add

host all 192.168.0.0 255.255.255.0 trust

at the end of the file....
I know this is not ideal, with no security, but then , i can connect using ip...
But i am still not able to connect thru ODBC on Win95... any solutions ?

venu

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas Lester 1998-06-01 18:12:23 Re: [ADMIN] ODBC Call fail? (fwd)
Previous Message Anton Stckl 1998-06-01 12:48:49 compiling error

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jose' Soares Da Silva 1998-06-01 17:42:26 Re: [INTERFACES] ODBC is slow with M$-Access Report
Previous Message leif 1998-06-01 16:59:00 Newbie question