Grails not getting authenticated against mongo DB

41 views
Skip to first unread message

Gokul Dharumar

unread,
Jun 16, 2015, 5:44:09 PM6/16/15
to mongod...@googlegroups.com
Hi ,
 I am new to mongo db. this is my first installation. I have installed Mongo db and then created user in admin db and also created one user in my own db. In the mongo client from command prompt i can connect to it using user name and password with out any issues. But when i try to connect from grails code with the same user name and password i keep getting this error.
Failed to authenticate FirmUser@Firm with mechanism MONGODB-CR: AuthenticationFailed MONGODB-CR credentials missing in the user document
Can someone help me with this issue?

Thanks
Gokul 

Jeff Yemin

unread,
Jul 26, 2015, 9:44:38 PM7/26/15
to mongodb-user, gokul.d...@gmail.com
Hi Gokul,

Can you confirm that you're using MongoDB 3.0?  Can you post a bit of sample Grails code that is failing, as well as the full stack if you have that available?


Regards,
Jeff
Reply all
Reply to author
Forward
0 new messages