Re: Cannot createdb

Поиск
Список
Период
Сортировка
От mathan
Тема Re: Cannot createdb
Дата
Msg-id 008f01c375bb$4a106b30$250110ac@MAMCO
обсуждение исходный текст
Ответ на Cannot createdb  ("Dr. Azmir" <drazmir@tm.net.my>)
Список pgsql-general
> Hi there I'm Dr. Azmir from Kuala Lumpur.
>   I'm using RH 9.0 with postgresql intalled in it.
> My problem is I can't createuser and createdb with it.
> The error message      "psql: FATAL:  user "name" does not exist
>                          createdb: database creation failed"

You should create database as postgres user

Do the following steps
Start the postmaster before creating the database

# useradd postgres
# su - postgres
$ createdb <database name>
CREATE DATABASE
$

thanks
--mathan


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003


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

Предыдущее
От: "Andrew L. Gould"
Дата:
Сообщение: Re: Cannot createdb
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unix domain instead of TCP socket connections with JDBC.