Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
Client password confusion with PostgreSQL:

I'm attempting to access a PostgreSQL database in a JavaScript project on Windows 10. The program runs fine until I attempt to connect to the database, at which point I receive this message in the terminal.

Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string

Here is the relevant pg code for access:

const Pool = pg.Pool;

const pool = new Pool({ 
    database: 'proth', 
    host: 'localhost', 
    port: '5432',
    max: 10, 
    idleTimeoutMillis: 30000, 
}); 

I can't figure out how to set up a password for this sort of thing or what exactly I need to do.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!