Hasło MongoDB w ciągu połączenia z @
// use %40 for @
mongoClient.connect("mongodb://username:p%40ssword@host:port/dbname?authSource=admin");
night owl
// use %40 for @
mongoClient.connect("mongodb://username:p%40ssword@host:port/dbname?authSource=admin");
MongoClient.connect('mongodb://admin:password@localhost:27017/db', function (err, db) {