pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Gamache <cgg007@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: Re: how to connect to a remote dbase using psql odbc
Date: Wed, 5 Mar 2003 07:32:02 -0800 (PST)
Message-ID: <20030305153202.25443.qmail@web13804.mail.yahoo.com> (raw)

Give us some more info:

What version of PostgreSQL are you connecting to?
From what application/environment are you attempting to connect from?
How did you start PostgreSQL? (Did you use -i ?)
Can you connect locally to PostgreSQL using "psql -Uuser_name database_name" ?
Why did you wait until _1_week_ before your thesis defense to get this working?
:) 

My guess is that either you didn't use "-i" or your pg_hba.conf isn't set up
properly. That's actually more important to remote connection than
pg_ident.conf.

for instance:
<snip>
# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD

local   all     all                                           trust 
host    all     all     127.0.0.1       255.255.255.255     trust
host    all     all     10.10.0.1   255.255.255.255     password
host    all     all     10.10.0.2   255.255.255.255     password
</snip>

All local users don't need a password
All users from 10.10.0.1 and 10.10.0.2 need a password

If you want everyone to connect w/o password, set up their ip address and use
method "trust". If you're using method "ident" that's where pg_ident.conf comes
in. This is all very well documented. There are interactive docs on
www.postgresql.org.

I expect a citation in your revised thesis for the pgsql-odbc list, and for
every person who responds to your help request. :)

CG

--- raymond.chuasing@kasal.com wrote:
> how do I connect to a remote dbase using odbc? I've tried changing my dsn
> on the other comp but it won't work ... the error about the user being not
> there always shows up.. I changed the pg_ident but still it won't work...
> 
> can anyone help me out I need to solve this asap my thesis defense is next
> week thx...
> 
> Raymond
> 
> 
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster




__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



view thread (3+ messages)  latest in thread

Message-ID: <20030305153202.25443.qmail@web13804.mail.yahoo.com>
Permalink:  ../20030305153202.25443.qmail@web13804.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030305153202.25443.qmail@web13804.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: cgg007@yahoo.com
  Subject: Re: how to connect to a remote dbase using psql odbc
  In-Reply-To: <20030305153202.25443.qmail@web13804.mail.yahoo.com>
  References: <20030305153202.25443.qmail@web13804.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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