Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 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. # https://dev.mysql.com/doc/refman/5.7/en/password-hashing.html
  11. #
  12. default: &default
  13. adapter: mysql2
  14. encoding: utf8
  15. database: heroku_3b4f4710d6d9b37
  16. username: b964b705c2381c
  17. password: c61bcdf5
  18. host: us-cdbr-iron-east-01.cleardb.net
  19. port: 3306
  20.  
  21. development:
  22. adapter: mysql2
  23. encoding: utf8
  24. database: heroku_3b4f4710d6d9b37
  25. username: b964b705c2381c
  26. password: c61bcdf5
  27. host: us-cdbr-iron-east-01.cleardb.net
  28. port: 3306
  29.  
  30. # Warning: The database defined as "test" will be erased and
  31. # re-generated from your development database when you run "rake".
  32. # Do not set this db to the same as development or production.
  33. test:
  34. <<: *default
  35. database: api-organic_test
  36.  
  37. # As with config/secrets.yml, you never want to store sensitive information,
  38. # like your database password, in your source code. If your source code is
  39. # ever seen by anyone, they now have access to your database.
  40. #
  41. # Instead, provide the password as a unix environment variable when you boot
  42. # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
  43. # for a full rundown on how to provide these environment variables in a
  44. # production deployment.
  45. #
  46. # On Heroku and other platform providers, you may have a full connection URL
  47. # available as an environment variable. For example:
  48. #
  49. # DATABASE_URL="mysql2://myuser:mypass@localhost/somedatabase"
  50. #
  51. # You can use this database configuration with:
  52. #
  53. # production:
  54. # url: <%= ENV['DATABASE_URL'] %>
  55. #
  56. production:
  57. <<: *default
  58. url: <%= ENV['DATABASE_URL'] %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement