From 6402331ac732e48302ff4f7a1d74ab6a503a3647 Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Wed, 18 Mar 2015 21:45:23 -0400 Subject: [PATCH] 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 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7923bdfb..650090401 100644 --- a/README.md +++ b/README.md @@ -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 + ) ), ```