node-pg-native icon indicating copy to clipboard operation
node-pg-native copied to clipboard

SCRAM authentication requires libpq version 10 or above

Open cesco69 opened this issue 1 year ago • 2 comments

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"
}

cesco69 avatar Jan 12 '24 16:01 cesco69

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

charmander avatar Jan 12 '24 23:01 charmander

@charmander

pg_config --version

PostgreSQL 15.1

cesco69 avatar Jan 18 '24 08:01 cesco69