Accessing Windows install of PostgreSQL via cygwin

Поиск
Список
Период
Сортировка
От nerdydork
Тема Accessing Windows install of PostgreSQL via cygwin
Дата
Msg-id 5c52f5f2-bc66-4fed-8a91-17a04ecffa00@k19g2000yqn.googlegroups.com
обсуждение исходный текст
Ответы Re: Accessing Windows install of PostgreSQL via cygwin  (Filip Rembiałkowski <filip.rembialkowski@gmail.com>)
Список pgsql-general
I have had a development environment set up in Windows for Django.
Recently I moved all my python/django setup to cygwin because I got
tired of the windows command line.

Everything seems to be working except the PostgreSQL connection. I
understand that I can install postgres inside of cygwin and access it
there, but is it possible to access my windows install of postgres
from within cygwin? If so, how? I get errors trying to connect to
localhost:54


  File "/usr/lib/python2.5/site-packages/django/db/backends/
postgresql_psycopg2/base.py", line 98, in _cursor
    self.connection = Database.connect(**conn_params)
psycopg2.OperationalError: could not connect to server: No such file
or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?32

В списке pgsql-general по дате отправления:

Предыдущее
От: Glyn Astill
Дата:
Сообщение: Re: Wikipedia entry - AmigaOS port - error?
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Accessing Windows install of PostgreSQL via cygwin