Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb password in connection string with @

// use %40 for @

mongoClient.connect("mongodb://username:p%40ssword@host:port/dbname?authSource=admin");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #password #connection #string
ADD COMMENT
Topic
Name
7+3 =