Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello, I created a Cluster Database (with mongoDB) in digitalOcean then created a new database collection “exampleDB” . In the other side, nextJS project (with prisma) I put the url to connect to my Cluster Database.
So I have 2 cases, the first one, it’s ok and all data from my project NextJS are going to admin file (default file created when we create a cluster) but now I want to put my data from nextJS to a specific file, in exampleDB but it doesn’t work! :(
Case 1:
DATABASE_URL="mongodb+srv://doadmin:password@clusterName-eddb9489.mongo.ondigitalocean.com/admin?tls=true"
Case 2:
DATABASE_URL="mongodb+srv://doadmin:password@clusterName-eddb9489.mongo.ondigitalocean.com/admin?tls=true/exampleDB"
My trouble is with the DATABASE_URL, in the case 2, I have this error:
Error: P1013
The provided database string is invalid. An invalid argument was provided: connection string tls option must be a boolean in database URL. Please refer to the documentation in https://www.prisma.io/docs/reference/database-reference/connection-urls for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters.
raphael.staebler
sunil2197
antoine
5abfc42589b946e79faf3d4681a650
Jamal
DriftingNavyFish
Chris Sheridan
AM-developers
SleepingAquamarineMantaRay
imerik1
f8dfb31b3b464767a75860ff9683ca