Re: Question on Starting Postgres for the first time

From: Janning Vygen <vygen(at)planwerk6(dot)de>
To: "David Stevenson" <dstevenson(at)eastlink(dot)ca>, pgsql-general(at)postgresql(dot)org
Subject: Re: Question on Starting Postgres for the first time
Date: 2001-05-13 09:43:49
Message-ID: 01051311434900.10487@janning
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Samstag, 12. Mai 2001 18:00 schrieb David Stevenson:
> I am a new user of PostgreSQL and Linux. I have my Linux up and running
> and my PostgreSQl semi-configured. I can get into PostgreSQL using super
> user on root and then super user into postgres. The problem is when I try
> to run psql and createdb from my home directory. When I do that, I get the
> following messages
>
> $ createdb david
> psql: FATAL 1: SetUserId: user 'david' is not in 'pg_shadow'

change to root and call

createuser

consult man createuser or the postgres manual for further instructions.
create a user called david
[hint: linux system users and postgers users can vary and often do, there is
no link between system users and postgres users]

change to your user account david and connect with psql

janning

> $ psql
> psql: FATAL 1: Database "david" does not exist in the system catalog.
>
> Not sure what is going on here, but I think someone out there does. Can
> you help.

--
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf

fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-05-13 10:17:38 Re: [PATCHES] Re: microsecond log timestamps
Previous Message Justin Clift 2001-05-13 07:26:42 Re: FTP Problems -- maybe?