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

SCRAM authentication requires libpq version 10 or above #120

Open
cesco69 opened this issue Jan 12, 2024 · 2 comments
Open

SCRAM authentication requires libpq version 10 or above #120

cesco69 opened this issue Jan 12, 2024 · 2 comments

Comments

@cesco69
Copy link

cesco69 commented Jan 12, 2024

On Window 11 with Node.JS 20 and PostgreSQL 15.1:

import { native } from 'pg';
const pool = new native.Pool({ .. });
pool.connect();

Error

SCRAM authentication requires libpq version 10 or above

library version

{
  "pg": "^8.11.3",
  "pg-native": "^3.0.1"
}
@charmander
Copy link
Collaborator

Which version of libpq (pg_config --version) do you have installed?

@cesco69
Copy link
Author

cesco69 commented Jan 18, 2024

@charmander

pg_config --version

PostgreSQL 15.1

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

No branches or pull requests

2 participants