Re: Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory

Поиск
Список
Период
Сортировка
От Tommy Gildseth
Тема Re: Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory
Дата
Msg-id 4800785F.2080804@usit.uio.no
обсуждение исходный текст
Ответ на Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory  ("Jaisen N.D." <jaisuvyas@gmail.com>)
Список pgsql-admin
Jaisen N.D. wrote:

> postgres@localhost:~$ /usr/lib/postgresql/8.1/bin/createdb test
> createdb: could not connect to database postgres: could not connect to
> server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"?
> postgres@localhost:~$
> -----------------------------------------------------
> Why it can't connect to server? How can I resolve it??


Doublecheck to see what port PostgreSQL is running on. Debian is known
to put postgreSQL on non-standard ports, in order to make it possible to
run multiple versions of postgreSQL on the same machine.


--
Tommy Gildseth

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

Предыдущее
От: "Jaisen N.D."
Дата:
Сообщение: Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory
Следующее
От: Sam Morris
Дата:
Сообщение: Re: Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory