Re: Role Authentication Failure

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Role Authentication Failure
Date: 2013-04-16 13:46:50
Message-ID: 516D564A.9020502@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/15/2013 07:29 PM, Carlos Mennens wrote:
> I dropped both roles (Carlos & DBA) from the database and I will show
> you exactly what I'm doing:
>
>
> Now I login as 'carlos':
>
> carlos(at)debian:~$ psql -d postgres
> Password:
> psql (9.1.9)
> Type "help" for help.
>
> postgres=>
>
> but...

To add to my post from last night:

1) What is in your pg_hba.conf file?

2) When you do psql -d postgres are you sure you are logging in as
carlos? In other words no PGUSER set. While debugging this I would try
to be as explicit as possible in your command line

3) Do you have a .pgpass file and does its contents match the
users/passwords you are using?

>
> --
> Carlos Mennens
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philipp Kraus 2013-04-16 14:50:23 dataset lock
Previous Message Eduardo Morras 2013-04-16 11:50:13 Re: Backup advice