Re: Problem while using createdb for the first time

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problem while using createdb for the first time
Date: 2009-06-30 08:31:56
Message-ID: 20090630083156.GD19653@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

In response to Ms swati chande :
>
> Thanks for your response, but it didn't work.
>
> It goes like this,
>
> c:\>createdb demo
> Password:
> createdb: couldnot connect to database postgres: FATAL: Password authentication failed for user 'prof'.
>
> I made the following change in pg_hba.conf and it still did not work.
> local all all 127.0.0.1 trust

You don't need a ip-address for local, local means a Unix-Socket, not a
ip-address.

I'm not a windoze-expert, but i guess, you need a host-entry, not a
local-entry.

>
>
> --- On Tue, 6/30/09, Patrick <flymooney(at)gmail(dot)com> wrote:

Please, no top-posting.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Nathaniel 2009-06-30 08:57:31 Setting up spatial index
Previous Message Ms swati chande 2009-06-30 07:56:36 Re: Problems using psql--Fatal password authentication failed