Advertisement
Guest User

Untitled

a guest
Oct 10th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. # PostgreSQL. Versions 7.4 and 8.x are supported.
  2. #
  3. # Install the pg driver:
  4. # gem install pg
  5. # On Mac OS X with macports:
  6. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  7. # On Windows:
  8. # gem install pg
  9. # Choose the win32 build.
  10. # Install PostgreSQL and put its /bin directory on your path.
  11. development:
  12. adapter: postgresql
  13. encoding: unicode
  14. database: best_development
  15. pool: 5
  16. host: localhost
  17. username: postgres
  18. password: root
  19.  
  20. # Connect on a TCP socket. Omitted by default since the client uses a
  21. # domain socket that doesn't need configuration. Windows does not have
  22. # domain sockets, so uncomment these lines.
  23. #host: localhost
  24. #port: 5432
  25.  
  26. # Schema search path. The server defaults to $user,public
  27. #schema_search_path: myapp,sharedapp,public
  28.  
  29. # Minimum log levels, in increasing order:
  30. # debug5, debug4, debug3, debug2, debug1,
  31. # log, notice, warning, error, fatal, and panic
  32. # The server defaults to notice.
  33. #min_messages: warning
  34.  
  35. # Warning: The database defined as "test" will be erased and
  36. # re-generated from your development database when you run "rake".
  37. # Do not set this db to the same as development or production.
  38. test:
  39. adapter: postgresql
  40. encoding: unicode
  41. database: best_test
  42. pool: 5
  43. host: localhost
  44. username: postgres
  45. password: root
  46.  
  47. production:
  48. adapter: postgresql
  49. encoding: unicode
  50. database: best_production
  51. pool: 5
  52. username: postgres
  53. password: root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement