Skip to content

Commit a27e2bf

Browse files
committed
Merge pull request mongodb#483 from lukepolo/lukepolo-patch-1
Update README.md
2 parents faba869 + 6402331 commit a27e2bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ And add a new mongodb connection:
6969
'port' => 27017,
7070
'username' => 'username',
7171
'password' => 'password',
72-
'database' => 'database'
72+
'database' => 'database',
73+
'options' => array(
74+
'db' => 'admin' // sets the authenication database required by mongo 3
75+
)
7376
),
7477
```
7578

0 commit comments

Comments
 (0)