Received: from flex.flex.ro (IDENT:root@[193.230.255.4]) by hub.org (8.9.3/8.9.3) with ESMTP id CAA73563 for ; Sat, 4 Sep 1999 02:09:40 -0400 (EDT) (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 JAA02949; Sat, 4 Sep 1999 09:10:22 +0300 Sender: teo@flex.flex.ro Message-ID: <37D0B92E.A9A00170@flex.ro> Date: Sat, 04 Sep 1999 06:16:14 +0000 From: Constantin Teodorescu Organization: FLEX Consulting Braila X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12 i586) X-Accept-Language: en MIME-Version: 1.0 To: Roland N Verrier CC: PostgreSQL PgAccess Subject: Re: [INTERFACES] PGACCESS formdemo.sql References: <37D07D6C.6034BF55@oneworldsolution2by2.mb.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Roland N Verrier wrote: > > Postmaster running, PgAccesss running > PgAccess v 0.98 is in /usr/local/pgaccess > Off the Web site it says, Create an empty database and psql your > database I have the template1 and other databases in /var/lib/pgsql/base > How do I make the connection with formdemo.sql and the base dir., if I > create a new database, opened in PgAccess? Let's say you are the Linux user roland on your computer. There is a postgres user , the master of PostgreSQL database server as the system administrator. Don't know the password for postgres user but you should assign one as root and then log in as postgres user. Then create a PostgreSQL user with the following command: $ createuser roland and follow the instructions there. Now you have a PostgreSQL user roland and you may create databases , other users and so on. As postgres linux user (or as roland) create and fill the formdemo database : $ createdb formdemo $ psql formdemo \d Then run PgAccess as : $ pgaccess formdemo or simply run PgAccess without parameter and the from the Database/Open menu, specify formdemo as your database, localhost to host, 5432 as port. Username and password may not be supplied if you are connecting to localhost. Enjoy, -- Constantin Teodorescu FLEX Consulting Braila, ROMANIA