Please make sure your database server is running at `z`

Anyone hit this before when trying a connection to a cloud hosted DB? Seems like zod is failing to parse the env variables. Although I do print them out and it seems they are actually set correctly. So I'm not quite sure how prisma is pulling in 'z' as a string.
4 Replies
Wiznet
Wiznet•10mo ago
With prisma debug on, i can even see it loading the .env but still getting "z". Is zod failing here somehow
No description
Wiznet
Wiznet•10mo ago
even directly using the uri in the prisma schemag gives the same error
No description
Wiznet
Wiznet•10mo ago
finally solved this. Issue i think was special characters in my password? It was failing to parse it seems
Wiznet
Wiznet•10mo ago
Prisma
Connection URLs (Reference)
Learn about the format and syntax Prisma uses for defining database connection URLs for PostgreSQL, MySQL and SQLite.
Want results from more Discord servers?
Add your server