not authorized on db to execute command

24 views
Skip to first unread message

吕永文

unread,
Dec 6, 2016, 10:14:35 PM12/6/16
to mongodb-user
Hi~ 
I have a question: with Spring-data-mongo integration, applications start normal and authentication is successful;But inserted into the database suggest insufficient permissions, and the same account I use tools MongoBooster operation is ok . please give me some idea?

Rhys Campbell

unread,
Dec 7, 2016, 3:50:35 AM12/7/16
to mongodb-user
Login to your mongo instance and check with...

mongo> use <database>;
mongo
> show users;

Reply all
Reply to author
Forward
0 new messages