kazdegroot
kazdegroot
DTDrizzle Team
Created by aakrit512 on 8/2/2023 in #help
PostgreSQL migration issue in AWS RDS with Drizzle ORM: 'no pg_hba.conf entry for host' error
https://www.postgresql.org/docs/current/auth-pg-hba-conf.html < Seems like postgres is unable to auth using your credentials, and is trying to fall back to this. So you have some actual code of you setting up the connection? I think both pg.pool and postgres.js only (try to) connect when a first query is done, so this is probably still a connection error
4 replies
DTDrizzle Team
Created by quitelistener on 6/16/2023 in #help
using postgres-js for connection
You should import from the Postgres generic package in scheme.ts; drizzle-orm/pg-core if I remember correctly
3 replies