Saturday, October 22, 2016

Re: Django can't find database

Can you connect to the database via command line?

psql -U gary -d archivedb 

On Sat, Oct 22, 2016 at 3:48 PM, Jamie Lawrence <jalawrence@gmail.com> wrote:

> On Oct 22, 2016, at 11:35 AM, Gary Roach <gary719_list1@verizon.net> wrote:

> When I try to migrate, I get the following  error:
>
>> psycopg2.OperationalError: FATAL:  database "archivedb" does not exist


> What's happening here?

Are you certain the 'archivedb' database actually exists?

If it does, is in in an accessible schema?

If it is, is it in the cluster you're connecting to in Django?

-j

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/AB039201-8818-40D4-B3BA-F036F510FDC5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei3RNtA0ftP226V9TB4unQS5s0d0Euuz5Ri84rH2ZzD2iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment