Thursday, 15 August 2013

configuration - MongoDB Local | Mongod --noauth | Issues -



configuration - MongoDB Local | Mongod --noauth | Issues -

i worked on mean illustration quite while back, when returned testing again, mongo giving me issues authorization.

(all these commands executed on windows cmd - when run administrator)

i have done next :

mongod --noauth // run mongo server

mongo --shell // started client

now, in mongo --shell:

use admin

switched db admin

show dbs

2014 - 11 - 13 t13: 25: 36.747 - 0500 listdatabases failed: { "ok": 0, "errmsg": "not authorized on admin execute command { listdatabases: 1.0 }", "code": 13 } @ src / mongo / shell / mongo.js: 47

i above error. tried lot of config changes (e.g.: run mongod auth: mongod --config=<filepath>), deleted info local mongo instance, , started on again.

i wondering if help regarding this.

all need run mongo without authentication, , able create collections etc, play around it.

i have looked mongodb documentation, find confusing, tried googling, in vain because, answers/references point mongo-docs.

honestly, having hard time, figuring out docs.

wow, can't believe this.

there separate instance of meanstack-service running in background. investigated processes in services.msc, , terminated on sight.

i quite glad that, mongo seems working.

mongodb configuration installation mean mean-stack

No comments:

Post a Comment