stripe-archive / mosql

MongoDB → PostgreSQL streaming replication
MIT License
1.62k stars 224 forks source link

Some documentation of using Mongo 2.4 roles #78

Closed glasser closed 10 years ago

glasser commented 10 years ago

The key part is specifying authSource, so that it always tries to load auth data from 'admin' (the only database that's allowed to authorize you for other databases) no matter which database you're trying to connect to.

nelhage commented 10 years ago

Awesome, thanks.