Let's say databases lay at /var/lib/pgsql on raq4 and /home/pgsql on raq3 no matter they always lay at ~postgres/ :)) If you are keen on psql you should try to add this to your /root/.profile: export PGPASSWORD=`cat /etc/cobalt/.meta.id` export PGUSER=admin Then, just type psql cobalt and you'll gain access to raq's internal psql database.
On Tuesday, 29 January 2002 06.39, you wrote: > Mine is a Raq 4 and pgsql binaries is installed in /usr/bin database files > at /var/lib/pgsql include files at /usr/include/pgsql > > to create a new user use createuser, and to create a new database use > createdb > > To know more about this check out > http://www.ca.postgresql.org/docs/aw_pgsql_book/index.html > > > Thanks, > > Sherwin Ang > Web Programmer / Systems Administrator > Alchemy Solutions > http://www.alchemy.com.ph > Creative. Technology. > > Tridel Technologies, Inc. > 7th Floor Hanston Building > Emerald Ave., Ortigas Center > Pasig City > > Tel: (632) 634-5141/ (632) 634-5140 Local 1040 > Fax: (632) 634-5139 > > ----- Original Message ----- > From: "John Voiklis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 29, 2002 6:36 AM > Subject: [cobalt-developers] where is pgsql installed? > > > Hello, > > > > I'm about to pull my hair out over this...where is pgsql installed? > > > > Also, what shell command adds a user...both useradd and adduser do not > > seem > > > to exist? > > > > Thank you...J > > > > _______________________________________________ > > cobalt-developers mailing list > > [EMAIL PROTECTED] > > http://list.cobalt.com/mailman/listinfo/cobalt-developers > > _______________________________________________ > cobalt-developers mailing list > [EMAIL PROTECTED] > http://list.cobalt.com/mailman/listinfo/cobalt-developers -- Rene Luria <[EMAIL PROTECTED]> Unix Administrator - Infomaniak Network SA _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
