From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Database issues when adding GUI
Date: Mon, 7 Jun 2021 08:56:16 -0700 (PDT)
Message-ID: <alpine.LNX.2.20.2106070852000.1822@salmo.appl-ecosys.com> (raw)
In-Reply-To: <fc13956f-271a-7977-54d3-9aeb76f0211c@gmail.com>
References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com>
<48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com>
<alpine.LNX.2.20.2106070828070.1822@salmo.appl-ecosys.com>
<fc13956f-271a-7977-54d3-9aeb76f0211c@gmail.com>
On Mon, 7 Jun 2021, Rob Sargent wrote:
> psql --host machine --user role --dbname something
> For your app it might be a config file with corresponding entries, or perhaps
> you command line invocation?
> I suspect there's a mis-match between the two.
Rob,
$ psql --host salmo --user rshepard --dbname bustrac
psql: error: could not connect to server: could not connect to server: Connection refused
Is the server running on host "salmo" (127.0.1.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "salmo" (192.168.55.1) and accepting
TCP/IP connections on port 5432?
Yet, /tmp has .s.PGSQL.5432= and .s.PGSQL.5432.lock
and I can access all databases using psql; e.g.,
$ psql jerrittmine
psql (12.2)
Type "help" for help.
You're on the right path here. The server is running on salmo (the local
host) and accepting connections on port 5432. At least, that's how I'm
seeing it.
Regards,
Rich
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: rshepard@appl-ecosys.com
Subject: Re: Database issues when adding GUI
In-Reply-To: <alpine.LNX.2.20.2106070852000.1822@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com> <48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com> <alpine.LNX.2.20.2106070828070.1822@salmo.appl-ecosys.com> <fc13956f-271a-7977-54d3-9aeb76f0211c@gmail.com> <alpine.LNX.2.20.2106070852000.1822@salmo.appl-ecosys.com>
* 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