diff --git a/reference/mongodb/mongodb/driver/manager/construct.xml b/reference/mongodb/mongodb/driver/manager/construct.xml
index 455bc8506e..d344f1db40 100644
--- a/reference/mongodb/mongodb/driver/manager/construct.xml
+++ b/reference/mongodb/mongodb/driver/manager/construct.xml
@@ -46,12 +46,12 @@
A mongodb:// connection URI:
- For details on supported options, see
+ For details on supported URI options, see
Connection String Options
in the MongoDB manual.
Connection pool options
@@ -68,6 +68,15 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][
The rawurlencode function may be used to encode
constituent parts of the URI.
+
+ The defaultAuthDb component may be used to specify the
+ database name associated with the user's credentials; however the
+ authSource URI option will take priority if specified.
+ If neither defaultAuthDb nor
+ authSource are specified, the admin
+ database will be used by default. The defaultAuthDb
+ component has no effect in the absence of user credentials.
+
@@ -145,7 +154,8 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][
The database name associated with the user's credentials. Defaults
- to the database component of the connection URI.
+ to the database component of the connection URI, or the
+ admin database if both are unspecified.
For authentication mechanisms that delegate credential storage to
@@ -1071,7 +1081,7 @@ $manager = new MongoDB\Driver\Manager("mongodb://mongos1.example.com,mongos2.exa
]]>
@@ -1090,7 +1100,7 @@ $manager = new MongoDB\Driver\Manager("mongodb://myusername:mypassword@example.c
]]>