Commit 6402331a authored by Luke Policinski's avatar Luke Policinski

Update README.md

Before anyone pulls their hair out, In mongo 3 if you have auth you must supply the auth database ! 

http://docs.mongodb.org/manual/reference/program/mongotop/#cmdoption--authenticationDatabase
parent 265ef41e
......@@ -66,7 +66,10 @@ And add a new mongodb connection:
'port' => 27017,
'username' => 'username',
'password' => 'password',
'database' => 'database'
'database' => 'database',
'options' => array(
'db' => 'admin' // sets the authenication database required by mongo 3
)
),
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment