Re: createdb: could not connect to database

Поиск
Список
Период
Сортировка
От Paul Smith
Тема Re: createdb: could not connect to database
Дата
Msg-id 6ade6f6c0602041135o24ff0786tde17898d32a9b187@mail.gmail.com
обсуждение исходный текст
Ответ на Re: createdb: could not connect to database  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-novice
On 2/4/06, Andreas Kretschmer <akretschmer@spamfence.net> wrote:
> Paul Smith <phhs80@gmail.com> schrieb:
>
> > On 2/4/06, Devrim GUNDUZ <devrim@commandprompt.com> wrote:
> > > Did you start postgresql service?
> > >
> > > # service postgresql start
> >
> > Thanks, Devrim. After "service postgresql start", I get
> >
> > $ createdb mydb
> > createdb: could not connect to database postgres: FATAL:  role
> > "psmith" does not exist
> > $
>
> Create a database user:
> Become root with su, then 'su - postgres', then createuser.
>
> Read & edit the file 'pg_hba.conf'
>
> http://www.postgresql.org/docs/current/static/client-authentication.html#AUTH-PG-HBA-CONF

Thanks, Andreas and Devrim. Now, I have postgres working fine here!

Paul

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: createdb: could not connect to database
Следующее
От: Murat Tasan
Дата:
Сообщение: function return type is a setof some column type