note 105846 added to mongo.construct
| From: | Sid at osu1 dot php dot net | Date: | Tue, 20 Sep 2011 02:06:00 +0000 |
| Subject: | note 105846 added to mongo.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183283@lists.php.net to get a copy of this message | ||
Well it looks like specifying the username, and password as an option in the option array DOES NOT
work with replica sets properly. I got a bunch of unauthorized exceptions when trying to do
inserts. Best bet is to specify username and password via the connection string.
----
Server IP: 69.147.83.197
Probable Submitter: 75.69.148.125
----
Manual Page -- http://www.php.net/manual/en/mongo.construct.php
Edit -- https://master.php.net/note/edit/105846
Del: integrated -- https://master.php.net/note/delete/105846/integrated
Del: useless -- https://master.php.net/note/delete/105846/useless
Del: bad code -- https://master.php.net/note/delete/105846/bad+code
Del: spam -- https://master.php.net/note/delete/105846/spam
Del: non-english -- https://master.php.net/note/delete/105846/non-english
Del: in docs -- https://master.php.net/note/delete/105846/in+docs
Del: other reasons-- https://master.php.net/note/delete/105846
Reject -- https://master.php.net/note/reject/105846
Search -- https://master.php.net/manage/user-notes.php