From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Manohar Bhattarai <manoharbhattarai@gmail.com>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: Re: Exception while accessing database
Date: Wed, 02 Jun 2010 15:44:30 -0500
Message-ID: <4C067C5E0200002500031DBD@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTilPLQavzfAVQvaWJOTlpG5SztbzXKYYwmCmHq_s@mail.gmail.com>
References: <AANLkTilPLQavzfAVQvaWJOTlpG5SztbzXKYYwmCmHq_s@mail.gmail.com>
Manohar Bhattarai <manoharbhattarai@gmail.com> wrote:
> FATAL: password authentication failed for user "postgres"
> But the password is the same that i use to login postgres user in
> the terminal.
> What could be the problem?
When you say "postgres user in the terminal", do you mean logging in
to the operating system? If so, that has nothing to do with the
database login unless you choose to make it so by having an "ident"
entry in the pg_hba.conf file.
http://www.postgresql.org/docs/8.3/interactive/client-authentication.html> I am not able to understand how to start creating a new user
> and a new database after a fresh installation of postgres.
Once you get logged in with the postgres user, that would be the
CREATE DATABASE and CREATE USER statements:
http://www.postgresql.org/docs/8.3/interactive/sql-createdatabase.htmlhttp://www.postgresql.org/docs/8.3/interactive/sql-createuser.html
-Kevin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, manoharbhattarai@gmail.com, pgsql-general@postgresql.org
Subject: Re: Exception while accessing database
In-Reply-To: <4C067C5E0200002500031DBD@gw.wicourts.gov>
References: <AANLkTilPLQavzfAVQvaWJOTlpG5SztbzXKYYwmCmHq_s@mail.gmail.com> <4C067C5E0200002500031DBD@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox