Search Postgresql Archives

Re: problem accessing a database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



am  Fri, dem 03.11.2006, um 17:06:01 +0100 mailte Luca Ferrari folgendes:
> On Friday 03 November 2006 16:40 Andreas Kretschmer's cat, walking on the 
> keyboard, wrote:
> >
> > try psql -h localhost ...
> 
> 
> That worked! 
> Thanks,

Great, okay.

The reason is, without -h, psql connect to the db via a socket, not with
tcp/ip. With -h, you coerce psql to connect via tcp/ip, and now your
rules are okay. You can change your settings for local (change to trust)


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux