drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

[BUG]: Cannot connect to remote db through SSH tunnel

Open bennettcolecohen opened this issue 9 months ago • 0 comments

What version of drizzle-orm are you using?

0.30.10

What version of drizzle-kit are you using?

0.20.17

Describe the Bug

My database is in a VPC so I use an ssh tunnel to expose it to my machine.

My connection string looks like : DB_URL=postgresql://postgres:[email protected]:8122/postgres

I have no problem connecting to it from pgAdmin and psql, but it fails from drizzle-kit and drizzle-studio.

Expected behavior

I expect to be able to connect to a db via URL. It makes it annoying to run migrations and view my data through SSH.

Environment & setup

Express API, AWS RDS.

bennettcolecohen avatar May 02 '24 20:05 bennettcolecohen