note 110873 added to mongo.connecting.rs
| From: | wpigott at nospam dot example dot com | Date: | Mon, 17 Dec 2012 23:46:30 +0000 |
| Subject: | note 110873 added to mongo.connecting.rs | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192572@lists.php.net to get a copy of this message | ||
When using the mongodb connection string on a replica set, make sure you DO NOT PUT A SPACE between
the servers.
IE. mongodb://db1.example.com:27017, db2.example.com:27017 will throw an error, but
mongodb://db1.example.com:27017,db2.example.com:27017 will work correctly.
----
Server IP: 69.147.83.199
Probable Submitter: 23.25.31.130
----
Manual Page -- http://php.net/manual/en/mongo.connecting.rs.php
Edit -- https://master.php.net/note/edit/110873
Del: integrated -- https://master.php.net/note/delete/110873/integrated
Del: useless -- https://master.php.net/note/delete/110873/useless
Del: bad code -- https://master.php.net/note/delete/110873/bad+code
Del: spam -- https://master.php.net/note/delete/110873/spam
Del: non-english -- https://master.php.net/note/delete/110873/non-english
Del: in docs -- https://master.php.net/note/delete/110873/in+docs
Del: other reasons-- https://master.php.net/note/delete/110873
Reject -- https://master.php.net/note/reject/110873
Search -- https://master.php.net/manage/user-notes.php