[Ilugc] Help with PostgreSQL (psycopg)

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Wed Jul 19 16:35:47 2006


On 19-Jul-06, at 4:18 PM, Parthan wrote:

Kenneth Gonsalves wrote:
set authentication to 'password' for all all localhost in  
pg_hba.conf - and always remember to give the *exact* error  
message when asking for help

------------------- pg_hba.conf-------------------------
# Database administrative login by UNIX sockets
local   all         postgres                          ident sameuser

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               ident sameuser
--------------------------------------------------------

Which one has to be changed, the second ? After changing it should  
be like below ??
local   all         all                               password

yes. also host all all password

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/


Other related posts: