I am using version 2.4.4, followed the procedures at http://docs.webfaction.com/software/mongodb.html and am using Mongoid with Ruby on Rails. I also have created a user at the db I am using with the "userAdminAnyDatabase" permission and am using it with this rails mongoid config:
production:
sessions:
default:
database: <table>
hosts:
- localhost:<port>
username: <user>
password: <password>
I have the server runing with --auth flags and I also tried the user with the mongodb cpmmand line and it works but with my Rails app deployed I am still getting:
failed with error 16550: "not authorized for query on
Is there something I am missing? Perhaps a special user I need to create?