Re: [ADMIN] cannot connect using terminal nor pgaccess

2001-05-22 Thread Thalis A. Kalfigopoulos
On Mon, 21 May 2001, Peter Eisentraut wrote: > Jaume Teixi writes: > > > but why the tcp/ip also doesn't works ? > > > > teixi@thinkpad:~$ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i host > > > > host all 127.0.0.1 255.255.255.0 ident sameuser >

Re: [ADMIN] cannot connect using terminal nor pgaccess

2001-05-21 Thread Dronamraju Rajesh
also try using -i option along with other options. else all seems to be fine regards, Rajesh. --- Jaume Teixi <[EMAIL PROTECTED]> wrote: > $ psql -d template1 -U postgres > psql: Peer authentication failed for user 'postgres' > > > $ psql -d template1 -U postgres -h localhost -p 5432 > psql: I

Re: [ADMIN] cannot connect using terminal nor pgaccess

2001-05-21 Thread Jaume Teixi
on day of Mon, 21 May 2001 17:00:19 +0200 (CEST), the message from Peter Eisentraut <[EMAIL PROTECTED]> says: > Jaume Teixi writes: > > > $ psql -d template1 -U postgres > > psql: Peer authentication failed for user 'postgres' > > There is no "peer" authentication type in any official PostgreSQ

Re: [ADMIN] cannot connect using terminal nor pgaccess

2001-05-21 Thread Tom Lane
Jaume Teixi <[EMAIL PROTECTED]> writes: > $ psql -d template1 -U postgres > psql: Peer authentication failed for user 'postgres' There is no such animal as "peer" authentication in Postgres. Are you using a locally hacked version? regards, tom lane -