stripe-archive / mosql

MongoDB → PostgreSQL streaming replication
MIT License
1.63k stars 225 forks source link

Some documentation of using Mongo 2.4 roles #78

Closed glasser closed 9 years ago

glasser commented 9 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 9 years ago

Awesome, thanks.