Advertisement
Guest User

Untitled

a guest
Sep 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. # MySQL. Versions 5.1.10 and up are supported.
  2. #
  3. # Install the MySQL driver
  4. # gem install mysql2
  5. #
  6. # Ensure the MySQL gem is defined in your Gemfile
  7. # gem 'mysql2'
  8. #
  9. # And be sure to use new-style password hashing:
  10. # http://dev.mysql.com/doc/refman/5.7/en/old-client.html
  11. #
  12. default: &default
  13. adapter: mysql2
  14. encoding: utf8
  15. username: root
  16. password: 12345678
  17.  
  18. development:
  19. <<: *default
  20. database: oms_rails5_development
  21.  
  22. # Warning: The database defined as "test" will be erased and
  23. # re-generated from your development database when you run "rake".
  24. # Do not set this db to the same as development or production.
  25. test:
  26. <<: *default
  27. database: oms_rails5_test
  28.  
  29. # As with config/secrets.yml, you never want to store sensitive information,
  30. # like your database password, in your source code. If your source code is
  31. # ever seen by anyone, they now have access to your database.
  32. #
  33. # Instead, provide the password as a unix environment variable when you boot
  34. # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
  35. # for a full rundown on how to provide these environment variables in a
  36. # production deployment.
  37. #
  38. # On Heroku and other platform providers, you may have a full connection URL
  39. # available as an environment variable. For example:
  40. #
  41. # DATABASE_URL="mysql2://myuser:mypass@localhost/somedatabase"
  42. #
  43. # You can use this database configuration with:
  44. #
  45. # production:
  46. # url: <%= ENV['DATABASE_URL'] %>
  47. #
  48. production:
  49. <<: *default
  50. database: oms_rails5_production
  51. username: oms_rails5
  52. password: <%= ENV['OMS_RAILS5_DATABASE_PASSWORD'] %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement