Last active
May 12, 2017 02:30
-
-
Save jtemporal/08c69af423005bd3b253821385c31b27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python manage.py migrate | |
Traceback (most recent call last): | |
File “/Users/temporal/anaconda3/envs/jarbas/lib/python3.5/site-packages/django/db/backends/base/base.py”, line 213, in ensure_connection | |
self.connect() | |
File “/Users/temporal/anaconda3/envs/jarbas/lib/python3.5/site-packages/django/db/backends/base/base.py”, line 189, in connect | |
self.connection = self.get_new_connection(conn_params) | |
File “/Users/temporal/anaconda3/envs/jarbas/lib/python3.5/site-packages/django/db/backends/postgresql/base.py”, line 176, in get_new_connection | |
connection = Database.connect(**conn_params) | |
File “/Users/temporal/anaconda3/envs/jarbas/lib/python3.5/site-packages/psycopg2/__init__.py”, line 130, in connect | |
conn = _connect(dsn, connection_factory=connection_factory, **kwasync) | |
psycopg2.OperationalError: could not connect to server: Connection refused | |
Is the server running on host “localhost” (::1) and accepting | |
TCP/IP connections on port 5432? | |
could not connect to server: Connection refused | |
Is the server running on host “localhost” (127.0.0.1) and accepting | |
TCP/IP connections on port 5432? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment