Anyone had any luck connecting to Atlas using thei...
# mongodb
m
Anyone had any luck connecting to Atlas using their serverless db? I am getting this error
Copy code
The provided database string is invalid. Invalid MongoDB connection string in database URL.
But I’m pretty sure it is valid. I can connect in the shell and using compass no problem. Here is format of the connection string (with the values changed)
Copy code
mongodb+srv://{username}:{password}@project-stage.yr0eq.mongodb.net/dev?retryWrites=true&w=majority
Using
"prisma": "^3.0.2"
Just changed the database to a shared cluster and its all working, so it does seem to be the serverless connection causing problems.
a
could also be the version? Atlas serverless is only v5