Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants