drizzle doesnt connect to GCP database string

Hello I want to connect drizzle on production to my database string which looks like this
`postgresql://postgres:${password}@localhost/${database_name}?host=/cloudsql/educate-393101:us-central1:educate-ai&connection_limit=10`
`postgresql://postgres:${password}@localhost/${database_name}?host=/cloudsql/educate-393101:us-central1:educate-ai&connection_limit=10`
and it fails but if I use this
`postgresql://postgres:${password}@${ip}:5432/${database_name}`
`postgresql://postgres:${password}@${ip}:5432/${database_name}`
it connects well, what can be the problem? because i moved whole project from prisma to drizzle and on prisma it was working fine
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?