Re: prob in accessing psql at all

From: Christoph Frick <frick(at)sc-networks(dot)com>
To: Morganne witheredrose <maniki(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: prob in accessing psql at all
Date: 2006-02-02 12:45:00
Message-ID: 20060202124500.GI1068@byleth.sc-networks.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, Feb 02, 2006 at 02:40:29PM +0200, Morganne witheredrose wrote:

> I installed postgresql from ports (OpenBSD 3.8) i initialised the db
> using initdb from the user _postgresql everything goes well
>
> but the user postgres seems not to exist the template1 db seems not to
> exist
>
> is it another way to connect to my db and to see what are the
> available users and dbs ?
>
> I am looking forward to hear news from you

AFAIR also the user in the db is then named _postgresql. one thing that
_should_ work with the base install as root is:

su - _postgresql
psql template0

next thing is then to add the users you want and fix the settings in the
ph_hba.conf.

--
cu

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Adam Witney 2006-02-02 12:51:18 Re: prob in accessing psql at all
Previous Message Sean Davis 2006-02-02 12:42:28 Re: prob in accessing psql at all