title: MongoDB error "not authorised on admin"
body: <p>I know this is a very common question for MongoDB, but I really tried most of the answers, but could not solve this issue. 
  So I feel I'm missing something Somewhere</p>
  
  <p>Here are the steps: </p>
  
  <ol>
  <li>Downloaded latest version 3.03 of MongoDB.</li>
  <li>Custom installed to f:\MEAN\MongoDB.</li>
  <li>F:\MEAN>sc.exe create MongoDBSvc binPath= "\"F:\mean\mongodb</li>
  </ol>
  
  <p>\bin\mongod.exe\" -- service --config=\"F:\MEAN\MongoDBData\log\1.cfg\"" 
  DisplayName= "MongoDBSvc" start= "auto"
  [SC] CreateService SUCCESS</p>
  
  <p><code>F:\MEAN&gt;net start MongoDbSvc</code></p>
  
  <p>The MongoDBSvc service is starting.
  The MongoDBSvc service was started successfully.</p>
  
  <p><code>F:\MEAN&gt;mongo</code></p>
  
  <p>MongoDB shell version: 3.0.3 connecting to: test</p>
  
  <pre><code>  &gt; view dbs
     2015-05-28T14:00:10.907+1000 E QUERY    SyntaxError: Unexpected      identifier
   &gt; show dbs
      2015-05-28T14:00:21.886+1000 E QUERY    Error: listDatabases failed:{
      "ok" : 0,
      "errmsg" : "not authorized on admin to execute command {  listDatabases:
       1.0 }",
             "code" : 13
     }
         at Error (&lt;anonymous&gt;)
         at Mongo.getDBs (src/mongo/shell/mongo.js:47:15)
         at shellHelper.show (src/mongo/shell/utils.js:630:33)
         at shellHelper (src/mongo/shell/utils.js:524:36)
         at (shellhelp2):1:1 at src/mongo/shell/mongo.js:47
       &gt; ^C
            bye
  </code></pre>