-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRAM support #231
Comments
The support is needed in lib/pq: lib/pq#608 or lib/pq#788 |
This issue solved. lib/pq#833 |
https://github.com/lib/pq/releases/tag/v1.1.1 contains the support for this |
Wanted to resurface this @wrouesnel because we have found it to be quite important in a project we're working on. I see there's a PR (#278) to address this, although it's biting off a lot in addition. Is it possible to get this change in by itself, which seems to be just updating the pq dependency to 1.1.1? |
Yeah, and https://github.com/lib/pq/releases/tag/v1.2.0 is out now |
Resolved in v0.6.0 and latest. |
Hi, folks. I start postgres_exporter.service on Linux 20.04. I am unable to connect to the target database. Hhe resuling log is |
Appears that postgres_exporter doesn't support when SCRAM password authentication is set in pg_hba.conf.
https://www.postgresql.org/docs/10/auth-methods.html#AUTH-PASSWORD
Thankfully just setting an override line above other entries in pg_hba.conf for the postgres_exporter role to md5 allows it to work for now even when the internal password storage is scram.
The text was updated successfully, but these errors were encountered: