Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by hub.org (8.10.1/8.11.0) with ESMTP id e9R5oqq12244 for ; Fri, 27 Oct 2000 01:50:56 -0400 (EDT) (envelope-from teo@flex.ro) Received: from flex.flex.ro (IDENT:root@[193.230.255.4]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id BAA02087 for ; Fri, 27 Oct 2000 01:11:10 GMT (envelope-from teo@flex.ro) Received: from flex.ro (IDENT:teo@teo.flex.ro [193.230.255.3]) by flex.flex.ro (8.9.3/8.9.3) with ESMTP id IAA06057; Fri, 27 Oct 2000 08:31:06 +0300 Message-ID: <39F91093.95AF4856@flex.ro> Date: Fri, 27 Oct 2000 08:20:19 +0300 From: Constantin Teodorescu X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: en MIME-Version: 1.0 To: "Rich.Martin" , PostgreSQL Interfaces Subject: Re: Question about pgaccess References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200010/234 X-Sequence-Number: 1593 "Rich.Martin" wrote: > > Hello, > Ok, I'll admit it I'm a newbee. However, I can't find an answer to this > problem in the documentation anywhere. > > I'm running Red Hat linux 6.1 and have my PostgreSQL server going (and I > have -i variable set), and pgaccess starts up fine. I've created several > users and databases in postgress, but when I go to open them in pgaccess I > get the following message: > > Error trying to connect to database 'dbname' on host localhost > > PostgreSQL error message: Connection to 'database' failed FATAL 1: Database > 'dbname' does not exist in pg_database" > > So, I hunted down the file pg_database in the /var/lib/pgsql/ directory and > opened it. The only thing in it is a $. How do I get PostgreSQL to write to > that file, if it should? It was the only one with that name on the system. > > The only thing I could think that might be wrong would be the path (Plus I > never did find a file called .login in my home directory). If psql could open that database, PgAccess should open it also. are you opening PgAccess under a user that have been defined for postgresql ? try the same thing as 'postgres' user! -- Constantin Teodorescu General Investment Group Braila, ROMANIA