From: Laszlo Nagy <gandalf@shopzeus.com>
To: Richard Harper <drrwharper@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: database not found
Date: Mon, 13 Aug 2012 10:50:59 +0200
Message-ID: <5028BFF3.1090508@shopzeus.com> (raw)
In-Reply-To: <CAHr-pYG=BzjJkZ5_8jO7r7yr2Xh67QeaNeXKkZvWnK+SE235JQ@mail.gmail.com>
References: <CAHr-pYG=BzjJkZ5_8jO7r7yr2Xh67QeaNeXKkZvWnK+SE235JQ@mail.gmail.com>
On 2012-08-12 23:13, Richard Harper wrote:
> Thanks for the help (server not running). The server is running and
> accepting connections, but when I attempt a tcp/ip connection I get
> the message: FATAL: database "d3_jchem" does not exist
> I can connect using psql. I seems not to be finding the database.
> Perhaps I have something wrong in the pg_hba.conf. I defined PGDATA
> and listen_address (= '*') in postgresql.conf.
Are you sure that you are trying to connect to the same database server?
Are you running psql and the other program on the same computer? Did you
try to use -h for psql with your host?
psql -h 127.0.0.1 -d d3_jchem
Do you have ports forwarded on any of the machines?
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: gandalf@shopzeus.com, drrwharper@gmail.com
Subject: Re: database not found
In-Reply-To: <5028BFF3.1090508@shopzeus.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