Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"

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

 



In postgresql.conf I have "#listen_addresses = 'localhost'" and I am logged in
directly into the box, without telnet, ssh or whatever.

But "psql -U postgres -h localhost" DID WORK (after I entered the password) and
that's a big step forward, thanks.

I'm still not sure why I needed to enter the password, though... my idea of
"trust" is somewhat different...


--- Andy Shellam <andy.shellam@xxxxxxxxxxxxxxxxx> wrote:

> No you're right, there shouldn't be anything in pg_ident.conf.
> 
> Check in your postgresql.conf file, and set "listen_interfaces" to *, so it
> listens on TCP/IP (if not already.)
> 
> Then try connecting with "psql -U postgres -h localhost" and see if that
> lets you on.  Also check your postgresql.conf file is not forcing pgSQL to
> look elsewhere for your config files.
> 
> Andy
> 




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux