Mongo Atlas Issue, can't properly choose my database

Viewed 24

I'm using mongo atlas and its creating the database with the name test by default, and only passing my information to that database as well.

I've changed my URI and its still doing the same, any ideas how I can tell atlas where to pass my data to?

This is my URI:


mongodb+srv://name:password@cluster0.rn6mt.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

1 Answers

Replace 'myFirstDatabase' with the name of the database you created in atlas.

Related