Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
yiyuan9
Posts
Comments
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
Prisma requires MongoDB to be run as replica set which MongoBD on railway doesn't support yet.
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
yes, will try. Thanks.
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
Thanks for the help tho, I think it might be the way prisma reads mongodb database url, the @ sign in the url could be the cause.
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
tried both with or without quotes, same result
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
0 chances for typo
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
The database url is copied directly from railway
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
Yes it's like this
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
nope
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
This is also what I did with my previous project but with postgresql
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
I just use the database all code are running locally.
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
sorry I dont get it
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
my bad but it was a deleted database url.
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
Yes the database url is my railway mongodb connection url
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
I simply copy the connection url to "DATABASE_URL": datasource db { provider = "mongodb" url = env("DATABASE_URL") }
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
I tried with MongoDB Atlas, it's all working fine, but this is first time try with railway
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
Yes why not
61 replies
R
Railway
•
Created by yiyuan9 on 6/2/2023 in
#✋|help
mongodb connection url error while using prisma
b1b6bd17-9af8-4f3b-81e0-ee45984024d7
61 replies