Re: Database issues when adding GUI

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Database issues when adding GUI
Date: 2021-06-07 16:03:19
Message-ID: alpine.LNX.2.20.2106070900200.1822@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2021-06-07 16:08:03 Re: Database issues when adding GUI
Previous Message Tom Lane 2021-06-07 16:00:38 Re: Database issues when adding GUI