I had this same problem...the user and pass were fine but no users could authenticate on any DB, regardless of settings.
Turns out my issue was only that I needed to add the string "localhost" to the host parameter. It's odd since the comments specifically state to leave it blank for localhost...but oh well. It worked. DATABASE_HOST = 'localhost' # Set to empty string for localhost. Not used with sqlite3. Odd. On May 31, 6:14 am, Tim Chase <django.us...@tim.thechases.com> wrote: > mizan rahman wrote: > > No, i've checked that i've created a user named "djangouser" and the > > problem still exist what will i do? Plz help me > > and you've checked that the password in settings.py is correct? > You only confirmed one of the two problems I suggested. > > If both are correct, you may have to include the section of your > pg_hba.conf that defines access permissions. It usually looks > something like > > ############################################################## > local all postgres ident sameuser > > # TYPE DATABASE USER CIDR-ADDRESS METHOD > > # "local" is for Unix domain socket connections only > local all all ident sameuser > # IPv4 local connections: > host all all 127.0.0.1/32 md5 > # IPv6 local connections: > host all all ::1/128 md5 > ############################################################## > > along with information about how your connecting in Django (to > localhost, to the local machine by IP address, to a remote > machine, etc) > > -tkc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---