File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Connect to MongoDB Atlas
6666 }
6767
6868 // replace the following string with your connection uri
69- let uri = "mongodb+srv://<username >:<password >@<cluster-address>/test?w=majority"
69+ let uri = "mongodb+srv://<db_username >:<db_password >@<cluster-address>/test?w=majority"
7070 let client = try MongoClient(uri)
7171
7272 // print a list of database names
@@ -85,7 +85,7 @@ Connect to MongoDB Atlas
8585 let elg = MultiThreadedEventLoopGroup(numberOfThreads: 4)
8686
8787 // replace the following string with your connection uri
88- let uri = "mongodb+srv://<username >:<password >@<cluster-address>/test?w=majority"
88+ let uri = "mongodb+srv://<db_username >:<db_password >@<cluster-address>/test?w=majority"
8989
9090 let client = try MongoClient(
9191 uri,
You can’t perform that action at this time.
0 commit comments