Skip to content
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

PgBouncer: Fix "local" pg_hba rule #508

Merged
merged 1 commit into from
Nov 18, 2023
Merged

PgBouncer: Fix "local" pg_hba rule #508

merged 1 commit into from
Nov 18, 2023

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Nov 18, 2023

When switching to Unix socket for PgBouncer connections, they missed updating the pg_hba rules for "local", which is why new database users could not connect.

Issue: #507

Fixed:

psql -U test -h 192.168.100.78 -p 5000 -d test
Password for user test:
psql: error: connection to server at "192.168.100.78", port 5000 failed: FATAL:  Peer authentication failed for user "test"

@vitabaks vitabaks self-assigned this Nov 18, 2023
@vitabaks vitabaks merged commit 90a9177 into master Nov 18, 2023
17 checks passed
@vitabaks vitabaks deleted the pg-hba-local branch November 18, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant