reatedb: database creation failed on mydb

Поиск
Список
Период
Сортировка
От taipan@shofiah.kusza.edu.my
Тема reatedb: database creation failed on mydb
Дата
Msg-id Pine.LNX.4.10.9906031715320.2338-100000@shofiah.kusza.edu.my
обсуждение исходный текст
Ответы Re: [GENERAL] reatedb: database creation failed on mydb
Список 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.




В списке pgsql-general по дате отправления:

Предыдущее
От: "Nikolay Mijaylov"
Дата:
Сообщение: Re: [GENERAL] powered by postgresql
Следующее
От: tolik@icomm.ru (Anatoly K. Lasareff)
Дата:
Сообщение: Re: [GENERAL] PL/pgSQL help