Tuesday, May 22, 2012

Re: "Connection refused" with backend psycopg2

On Tue, 2012-05-22 at 22:51 +0200, Tanuva wrote:
> lately, I wanted to switch my database from the testing sqlite file to
> a
> more productive pgsql 8.4 server. Now I'm constantly getting a
> "connection refused" from the psycopg2 backend:
> http://dpaste.org/0Ezka/
> Database configuration: http://dpaste.org/QPjD2/ (not that verbose...)
>
> Funny enough, connecting manually using psycopg2 in a python2 shell
> and
> using pgadmin to confirm changes done there works just fine, so there
> must be something in between.

edit your pg_hba.conf file for suitable permissions
--
regards
Kenneth Gonsalves

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate