On Jan 2, 6:48 pm, "Michel Thadeu Sabchuk" <[EMAIL PROTECTED]> wrote:

> I'm deploying a django project with postgresql as database backend. I
> used to create a local user with the same name of the database user
> (owner of the database), so I just need to run the webserver as the
> local user and the database should work without problems (this was true
> for webware). I try to run django as the local user and hit the page
> without success, the error message tells me: FATAL: Ident
> authentication failed for user "saraswati".

If u're running under Windows you should check out the hidden file at

C:\Documents and Settings\<USERNAME>\Application Data\postgresql
\pgpass.conf

which contains info in the format:

localhost:5432:*:YOUR_USER:YOUR_PASSWORD

Lorenzo


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to