You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For whatever reason, psycopg2 fails to authenticate the postgresql user if the authentication mode is set to "ident" in the postgresql server config. You get the error:
psycopg2.OperationalError: FATAL: Ident authentication failed for user <db_user>
This is a problem because ident is the default security mode on Redhat-based distros. In order for it to work, the psql auth mode must be set to either md5 or trust in /var/lib/pgsql/data/pg_hba.conf.
The text was updated successfully, but these errors were encountered:
Not meant for Redhat-based distros, lists Ubuntu environment at top of instructions. If you wanted to write up an install script in the wiki for Redhat distros, that would work and be great, thanks!
For whatever reason, psycopg2 fails to authenticate the postgresql user if the authentication mode is set to "ident" in the postgresql server config. You get the error:
This is a problem because ident is the default security mode on Redhat-based distros. In order for it to work, the psql auth mode must be set to either md5 or trust in /var/lib/pgsql/data/pg_hba.conf.
The text was updated successfully, but these errors were encountered: