Skip site navigation (1) Skip section navigation (2)

Re: database not found

From: Laszlo Nagy <gandalf(at)shopzeus(dot)com>
To: Richard Harper <drrwharper(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: database not found
Date: 2012-08-13 08:50:59
Message-ID: 5028BFF3.1090508@shopzeus.com (view raw or flat)
Thread:
Lists: pgsql-admin
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?


In response to

pgsql-admin by date

Next:From: Richard HarperDate: 2012-08-13 14:18:41
Subject: Re: database not found
Previous:From: Richard HarperDate: 2012-08-12 21:13:13
Subject: database not found

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group