#prisma "the URL must start with the protocol `file:`"

23 messages · Page 1 of 1 (latest)

tall citrus
#

I am using planet scale for the url and it works on my machine, how can I fix this?

verbal phoenixBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

tall citrus
tidal plover
#

does your .env look likeDATABASE_URL='mysql:// (at least the start of the url?)

#

and is the other service vercel? as you can just link planetscale to them and it auto adds creds...

tall citrus
tidal plover
#

umm thats a little odd that it doesn't work ngl

tall citrus
#

it is

tidal plover
tall citrus
tidal plover
#

yeah so... umm that should work...

#

try linking your vercel to planetscale as that worked for me... (maybe it sets config better)... but ... i am really lost on why it doesn't work

#

(esp weird as you say it works localy...)

tall citrus
#

kinda trolling

#

the only difference is that locally I am using the dev branch of the database, but that is not the error, like what

tidal plover
#

so, if you use the same prod link in you local... it should still work tho?

tall citrus
#

it does

#

i tried

tall citrus
#

ok ig it works now

#

I did literally nothing

tidal plover
#

YAY!

tall citrus
#

I re-generated the planetscale url and redeployed with github