reatedb: database creation failed on mydb

From: taipan(at)shofiah(dot)kusza(dot)edu(dot)my
To: pgsql-lists <pgsql-general(at)postgresql(dot)org>
Subject: reatedb: database creation failed on mydb
Date: 1999-06-03 09:50:26
Message-ID: Pine.LNX.4.10.9906031715320.2338-100000@shofiah.kusza.edu.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

I'm a new member and new to postgres.

beside postgrest user I would also want my student to create their own
database in their own home directory.

first I issue (under postgrest user)
createuser user_id
then under that user_id I run
initlocation ~/sql/data
then I run
createdb -D ~/sql/data mydb

at this stage I get an error msg as below:
ERROR: Unable to create database directory ~/sql/data/base/mydb
createdb: database creation failed on mydb.

what should I do now? I tried to find it in archives but i can't find it.
FYI I'm using postgres v 6.3 running under RedHat.

Thanks in advance.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anatoly K. Lasareff 1999-06-03 11:41:38 Re: [GENERAL] PL/pgSQL help
Previous Message Nikolay Mijaylov 1999-06-03 06:59:33 Re: [GENERAL] powered by postgresql