prisma/prisma

Hello @bso-oo πŸ‘‹

Rakesh-99 opened this issue Β· 2 comments

Hello @bso-oo πŸ‘‹

Once you set the environment variable in the Linux machine, can you check if the value of DATABASE_URL is correct at runtime?
You can use the dotenv package to load the environment variable as specified here: https://www.prisma.io/docs/guides/development-environment/environment-variables#using-environment-variables-in-your-code

Originally posted by @nurul3101 in #19107 (comment)

Might help… I generally plug this small validator

@httpx/dsn-parser

https://github.com/belgattitude/httpx/tree/main/packages/dsn-parser#readme

Works also with zod, t3-env… (but don’t depend on them)

Please move the discussion back to #19107 (comment)