© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•8mo ago
niko

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
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Drizzle studio not connecting to any database string
Drizzle TeamDTDrizzle Team / help
4mo ago
when running postgres in docker, drizzle cannot connect to it, says database doesnt exist
Drizzle TeamDTDrizzle Team / help
13mo ago
Drizzle-kit won't connect to local neon database
Drizzle TeamDTDrizzle Team / help
15mo ago
How to connect to Oracle database?
Drizzle TeamDTDrizzle Team / help
14mo ago