[Ilugc] problem postgresql for django

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Wed Feb 10 15:11:25 2010

On Wednesday 10 Feb 2010 3:00:43 pm malathi selvaraj wrote:

 unable the configure postgresql for django

 I am using fedora 12,

when i command python manage.py syncdb

 i got this error:

http://pastebin.com/m1647fea2


you need to edit pg_hba.conf and change the authentication like so:

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust


-- 
regards
kg
http://lawgon.livejournal.com

Other related posts: