mong db connect error

Solutions on MaxInterview for mong db connect error by the best coders in the world

showing results for - "mong db connect error"
Lukas
13 Aug 2017
1// for mongodb atlas
2mongoose.connect(
3  "mongodb+srv://<username>:<password>@cluster0.88kbv.mongodb.net/<project_name>?retryWrites=true&w=majority",
4  {
5    useNewUrlParser: true,
6    useUnifiedTopology: true,
7    useCreateIndex: true,
8    useFindAndModify: false,
9  }
10);