Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

connection string mongodb with user

MongoClient.connect('mongodb://admin:password@localhost:27017/db', function (err, db) {
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connection #string #mongodb #user
ADD COMMENT
Topic
Name
1+7 =