Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. "mongodb_cr" is invalid, please use mongodb_cr, mongodb_x509, gssapi or plain.
  2.  
  3. development:
  4. clients:
  5. default:
  6. database: urijijami
  7. hosts:
  8. - <%= ENV['MONGO_HOST'] || 'localhost' %>
  9. options:
  10. user: <%= ENV['MONGO_USER'] %>
  11. password: <%= ENV['MONGO_PASS'] %>
  12.  
  13. # Change the default authentication mechanism. Valid options are: :scram,
  14. # :mongodb_cr, :mongodb_x509, and :plain. Note that all authentication
  15. # mechanisms require username and password, with the exception of :mongodb_x509.
  16. # Default on mongoDB 3.0 is :scram, default on 2.4 and 2.6 is :plain.
  17. auth_mech: mongodb_cr
  18.  
  19. # Configure Mongoid specific options. (optional)
  20. options:
  21. raise_not_found_error: false
  22.  
  23. auth_mech: :mongodb_cr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement