From: Scott Marlowe <scott.marlowe@gmail.com>
To: James Colannino <james@eracks.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Can't connect from any system account other than postgres
Date: Mon, 23 Jun 2008 17:23:51 -0600
Message-ID: <dcc563d10806231623k58aa1056w5450c870343bc9f8@mail.gmail.com> (raw)
In-Reply-To: <48602A9D.3000004@eracks.com>
References: <48602A9D.3000004@eracks.com>
On Mon, Jun 23, 2008 at 4:58 PM, James Colannino <james@eracks.com> wrote:
> Hey everyone. I hope you'll forgive this most likely stupid question, but
> I'm having trouble connecting to a postgresql database when on any system
> account other than postgres.
>
> I understand that the way my PostgreSQL installation is setup, the account
> postgres functions as a trusted account that will allow me to run psql
> without a password. However, after I've setup an initial database, user and
> password (the database is set to belong to this user), when I try to run the
> command psql -d database -U username -W, after entering the password, I'm
> told that authentication failed.
Let me guess, it says something about ident authentication failed, right?
Take a look here:
http://www.postgresql.org/docs/8.3/interactive/client-authentication.html
This section has been moved for future versions of the docs, but it's
still in a kind of "too later to save you" position for now.
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: scott.marlowe@gmail.com, james@eracks.com
Subject: Re: Can't connect from any system account other than postgres
In-Reply-To: <dcc563d10806231623k58aa1056w5450c870343bc9f8@mail.gmail.com>
References: <48602A9D.3000004@eracks.com> <dcc563d10806231623k58aa1056w5450c870343bc9f8@mail.gmail.com>
* 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