Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error getting database names #31

Open
dan335 opened this issue Feb 15, 2016 · 1 comment
Open

error getting database names #31

dan335 opened this issue Feb 15, 2016 · 1 comment

Comments

@dan335
Copy link

dan335 commented Feb 15, 2016

I'm getting this error.

Failed: error getting database names: not authorized on admin to execute command { listDatabases: 1 }

Tried using users with "backup" role and "root" role. Logging in through the shell and doing "show dbs" works fine. Mongodb 3.2.

@fresheneesz
Copy link

I got this when migrating to mongo 3 while still using the old mongo.conf format. Switching to the new format fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants