createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "root" error - Mailing list pgsql-novice

From bijoy
Subject createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "root" error
Date
Msg-id 5e8819770903280408n71f19b7dn62ded4a7078a7957@mail.gmail.com
Whole thread Raw
Responses Re: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "root" error
Re: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "root" error
List pgsql-novice
Hi,

i am new to database postgresql.

when i tried creating database using 'createdb', following error occuered.
createdb mydb
createdb: could not connect to database postgres: FATAL:  Ident authentication failed for user "root"

What would be the reason.

Thanks in advance

bijoy

pgsql-novice by date:

Previous
From: Doug Graham
Date:
Subject: Re: Adjusting Shared Memory with sysctl.conf not working?
Next
From: Aarni
Date:
Subject: Re: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "root" error