Re: Database issues when adding GUI - Mailing list pgsql-general

From Rich Shepard
Subject Re: Database issues when adding GUI
Date
Msg-id alpine.LNX.2.20.2106070900200.1822@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Database issues when adding GUI  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Database issues when adding GUI  (Alan Hodgson <ahodgson@lists.simkin.ca>)
Re: Database issues when adding GUI  (Tom Lane <tgl@sss.pgh.pa.us>)
Aw: Re: Database issues when adding GUI  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List pgsql-general
On Mon, 7 Jun 2021, Tom Lane wrote:

> Are you sure the app is connecting to the right database?
>

Tom,

The problem source is postgres telling me it cannot connect to the database
but I can do so directly using psql:

$ 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?

yet,

$ psql bustrac
psql (12.2)
Type "help" for help.

bustrac=#

I'm thoroughly confused not before encountering this issue.

Regards,

Rich



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Database issues when adding GUI
Next
From: Alan Hodgson
Date:
Subject: Re: Database issues when adding GUI