Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # rails_blog/config/database.yml
- default: &default
- adapter: mysql
- username: rails_blog_user
- password: ENV['your_super_secret_password']
- host: 192.168.100.1
- development:
- database: rails_blog_development
- <<: *default
- production:
- database: rails_blog
- <<: *default
- # set the database option to your development db and the host to your
- # ssh forward
- development_remote:
- database: rails_blog_development
- host: 127.0.0.1
- port: 3307 # This is where the ssh is forwarding your DB traffic
- <<: *default
Add Comment
Please, Sign In to add comment