Re: OSX: migrating Postgres db from one Mac to another

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OSX: migrating Postgres db from one Mac to another
Дата
Msg-id 2621427.1624545110@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OSX: migrating Postgres db from one Mac to another  (Carlo Poso <carloposo@gmail.com>)
Список pgsql-general
Carlo Poso <carloposo@gmail.com> writes:
> The message I get after entering the PW is "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?"

So the step you missed is "start the Postgres server".  On OSX
that's usually done by setting up a LaunchDaemon script, IIRC
(it's been awhile since I messed with that).

            regards, tom lane



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

Предыдущее
От: Michael Ivanov
Дата:
Сообщение: Re: insert ..... returning problem
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: OSX: migrating Postgres db from one Mac to another