From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carlo Poso <carloposo@gmail.com>
Cc: Дмитрий Иванов <firstdismay@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: OSX: migrating Postgres db from one Mac to another
Date: Thu, 24 Jun 2021 10:31:50 -0400
Message-ID: <2621427.1624545110@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFXR-WHtVHkfPWOJhTX+1HGwmP0+Q4vVO-tgDsKEdAAUt+1oSg@mail.gmail.com>
References: <CAFXR-WEmu+B_G0Q_NPe6-5mewMdocL-LSN2pzfHGK99TteOQ8A@mail.gmail.com>
<CAPL5KHqZvdTNZVZonqwaKhp+WUNJXkDhvvHyCU9jYay0zDSD0g@mail.gmail.com>
<CAFXR-WHtVHkfPWOJhTX+1HGwmP0+Q4vVO-tgDsKEdAAUt+1oSg@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, carloposo@gmail.com, firstdismay@gmail.com
Subject: Re: OSX: migrating Postgres db from one Mac to another
In-Reply-To: <2621427.1624545110@sss.pgh.pa.us>
References: <CAFXR-WEmu+B_G0Q_NPe6-5mewMdocL-LSN2pzfHGK99TteOQ8A@mail.gmail.com> <CAPL5KHqZvdTNZVZonqwaKhp+WUNJXkDhvvHyCU9jYay0zDSD0g@mail.gmail.com> <CAFXR-WHtVHkfPWOJhTX+1HGwmP0+Q4vVO-tgDsKEdAAUt+1oSg@mail.gmail.com> <2621427.1624545110@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox