Zo gebruik je useMongoClient : mongoose.connect('mongodb://localhost/advisorDemoTestDB', { useMongoClient: true })