Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello @bso-oo 👋 #24161

Closed
Rakesh-99 opened this issue May 12, 2024 · 2 comments
Closed

Hello @bso-oo 👋 #24161

Rakesh-99 opened this issue May 12, 2024 · 2 comments

Comments

@Rakesh-99
Copy link

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)

@belgattitude
Copy link

belgattitude commented May 12, 2024

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)

@janpio janpio closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
@janpio
Copy link
Contributor

janpio commented May 13, 2024

Please move the discussion back to #19107 (comment)

@prisma prisma locked as off-topic and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants