diff --git a/reference/mongo/connecting.xml b/reference/mongo/connecting.xml index 1f4fe1c143..81ddea61d9 100644 --- a/reference/mongo/connecting.xml +++ b/reference/mongo/connecting.xml @@ -165,4 +165,47 @@ for ($i=0; $i<1000; $i++) { +
+ Domain Socket Support + + + If you are running MongoDB locally and have version 1.0.9 or better of the + driver, you can connect to the database via file. MongoDB automatically + opens a socket file on startup: /tmp/mongodb-<port>.sock + (C:\tmp\mongodb-<27017>.sock on Windows). + + + + To connect to the socket file, specify the path in your MongoDB connection + string: + + + + +]]> + + + + If you would like to use authentication on connection (as described above) + with a socket file, you must specify a port of 0 so that the connection + string parser knows where the end of the connection string is. + + + + +]]> + + +
+