Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # worker and admin, where i need to write
  2. production:
  3. adapter: mysql2
  4. encoding: utf8
  5. reconnect: false
  6. database: my_huge_db_production
  7. pool: 5
  8. username: full_access_user
  9. password: password
  10. socket: /tmp/mysql.sock
  11.  
  12. # api, where i only need to read
  13. production:
  14. adapter: mysql2
  15. encoding: utf8
  16. reconnect: false
  17. database: my_huge_db_production
  18. pool: 5
  19. username: only_read_access_user
  20. password: password
  21. socket: /tmp/mysql.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement