drizzle-orm
drizzle-orm copied to clipboard
[BUG]: Cannot connect to remote db through SSH tunnel
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.