Advertisement
Guest User

Untitled

a guest
Mar 8th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. # PostgreSQL. Versions 8.2 and up are supported.
  2. #
  3. # Install the pg driver:
  4. # gem install pg
  5. # On OS X with Homebrew:
  6. # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
  7. # On OS X with MacPorts:
  8. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  9. # On Windows:
  10. # gem install pg
  11. # Choose the win32 build.
  12. # Install PostgreSQL and put its /bin directory on your path.
  13. #
  14. # Configure Using Gemfile
  15. # gem 'pg'
  16. #
  17. default: &default
  18. #adapter: postgresql
  19. #username: postgres
  20. #host: localhost
  21. #encoding: unicode
  22. adapter: mysql2
  23. username: bicimoto_web_pro
  24. password: Cf4uf=P!f?D&
  25. host: localhost
  26. encoding: utf8
  27.  
  28. # For details on connection pooling, see rails configuration guide
  29. # http://guides.rubyonrails.org/configuring.html#database-pooling
  30. pool: 5
  31.  
  32. development:
  33. #adapter: postgresql
  34. #host: localhost
  35. #username: user
  36. <<: *default
  37. #database: bicimoto_web_produccion
  38. database: bicimoto_development
  39.  
  40. # The specified database role being used to connect to postgres.
  41. # To create additional roles in postgres see `$ createuser --help`.
  42. # When left blank, postgres will use the default role. This is
  43. # the same name as the operating system user that initialized the database.
  44. #username: bicimoto
  45.  
  46. # The password associated with the postgres role (username).
  47.  
  48. # Connect on a TCP socket. Omitted by default since the client uses a
  49. # domain socket that doesn't need configuration. Windows does not have
  50. # domain sockets, so uncomment these lines.
  51. #host: localhost
  52.  
  53. # The TCP port the server listens on. Defaults to 5432.
  54. # If your server runs on a different port number, change accordingly.
  55. #port: 5432
  56.  
  57. # Schema search path. The server defaults to $user,public
  58. #schema_search_path: myapp,sharedapp,public
  59.  
  60. # Minimum log levels, in increasing order:
  61. # debug5, debug4, debug3, debug2, debug1,
  62. # log, notice, warning, error, fatal, and panic
  63. # Defaults to warning.
  64. #min_messages: notice
  65.  
  66. # Warning: The database defined as "test" will be erased and
  67. # re-generated from your development database when you run "rake".
  68. # Do not set this db to the same as development or production.
  69. test:
  70. <<: *default
  71. database: bicimoto_web_produccion
  72.  
  73. # As with config/secrets.yml, you never want to store sensitive information,
  74. # like your database password, in your source code. If your source code is
  75. # ever seen by anyone, they now have access to your database.
  76. #
  77. # Instead, provide the password as a unix environment variable when you boot
  78. # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
  79. # for a full rundown on how to provide these environment variables in a
  80. # production deployment.
  81. #
  82. # On Heroku and other platform providers, you may have a full connection URL
  83. # available as an environment variable. For example:
  84. #
  85. # DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
  86. #
  87. # You can use this database configuration with:
  88. #
  89. # production:
  90. # url: <%= ENV['DATABASE_URL'] %>
  91. #
  92. production:
  93. adapter: mysql2
  94. database: bicimoto_web_produccion
  95. username: bicimoto_web_pro
  96. password: Cf4uf=P!f?D&
  97. host: localhost
  98. encoding: utf8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement