Guest User

Untitled

a guest
Sep 17th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # rails_blog/config/database.yml
  2.  
  3. default: &default
  4. adapter: mysql
  5. username: rails_blog_user
  6. password: ENV['your_super_secret_password']
  7. host: 192.168.100.1
  8.  
  9. development:
  10. database: rails_blog_development
  11. <<: *default
  12.  
  13. production:
  14. database: rails_blog
  15. <<: *default
  16.  
  17. # set the database option to your development db and the host to your
  18. # ssh forward
  19.  
  20. development_remote:
  21. database: rails_blog_development
  22. host: 127.0.0.1
  23. port: 3307 # This is where the ssh is forwarding your DB traffic
  24. <<: *default
Add Comment
Please, Sign In to add comment