Re: OSX: migrating Postgres db from one Mac to another - Mailing list pgsql-general

From Tom Lane
Subject Re: OSX: migrating Postgres db from one Mac to another
Date
Msg-id 2621427.1624545110@sss.pgh.pa.us
Whole thread Raw
In response to Re: OSX: migrating Postgres db from one Mac to another  (Carlo Poso <carloposo@gmail.com>)
List 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 by date:

Previous
From: Michael Ivanov
Date:
Subject: Re: insert ..... returning problem
Next
From: Adrian Klaver
Date:
Subject: Re: OSX: migrating Postgres db from one Mac to another