Re: Error after typing "psql"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Error after typing "psql"
Дата
Msg-id 200404261848.i3QImFt05938@candle.pha.pa.us
обсуждение исходный текст
Ответ на Error after typing "psql"  (Maya <EscalanteCanada@netscape.net>)
Список pgsql-cygwin
Maya wrote:
> Hi!!
> I just installed PostgreSQL in a MSW98 using cygwin. When I type 'psql'
> I get a message saying
> psql: 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
> What can I do to solve this problem?
>

You have to start the postmaster with -i, or enable tcp sockets in
postgresql.conf, then use -h localhost in psql.  This will be fixed in
7.5.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Maya
Дата:
Сообщение: Error after typing "psql"
Следующее
От: "Torstein Meland"
Дата:
Сообщение: Compile and run Postgres under Cygwin