Connecting prisma with mongodb issue
Hello, been following docs, used nextjs and i get this error.
4 Replies
This is the error i get
How do I fix this?
Hey 👋
You need to add a database name in your connection string
DATABASE_URL="mongodb+srv://name:password@cluster0.cnmfhut.mongodb.net/your_db_name"
My issue was I didn't make a container, fixed it, thank you
I am glad to hear that the issue is resolved now!