Tag Results
1 post tagged authentication
1 post tagged authentication
MongoMapper is a great project but missing a lot of documentation in some core parts. I wanted to find out how to connect to a MongoDB instance that requires authentication and this is how I did it:
# config/database.yml
mongodb:
hostname: localhost
database: graylog2
port: 27017
authenticate: true
username: graylog2user
password: graylog2pw