Re: Does psycopg2 support Kerberos for Postgres? - Mailing list psycopg

From Adrian Klaver
Subject Re: Does psycopg2 support Kerberos for Postgres?
Date
Msg-id 9a0f6493-5c71-b133-0cbc-a05bfe06b69f@aklaver.com
Whole thread Raw
In response to Does psycopg2 support Kerberos for Postgres?  (Yang Gao <Yang.Gao@twosigma.com>)
Responses Re: Does psycopg2 support Kerberos for Postgres?  (Yang Gao <Yang.Gao@twosigma.com>)
List psycopg
On 12/06/2016 07:20 AM, Yang Gao wrote:
> You are most likely correct about local log in.
>
> This is the string that I'm using:
>     sqlalchemy.create_engine("postgresql+psycopg2://fqdn_of_host/db_name")
> I tried adding "? krbsrvname=postgres" at the end as well, but got the error aforementioned.

It would have been nice to know you where using SQLAlchemy above
psycopg2 at the beginning of this conversation.

So again can you show the actual complete string you are using?

Not sure if this a cut and paste error but you have:

? krbsrvname=postgres

Pretty sure the space between ? and krbsrvname is not good.

Also what happens if you bypass SQLAlchemy and try to connect using
psycopg2 directly?


>
> Thanks.
>
> Yang
>
>



--
Adrian Klaver
adrian.klaver@aklaver.com


psycopg by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Does psycopg2 support Kerberos for Postgres?
Next
From: Yang Gao
Date:
Subject: Re: Does psycopg2 support Kerberos for Postgres?