database.yml 881 B

123456789101112131415161718192021222324252627282930313233343536
  1. # this is a database config sample for zammad ready to use with a postgresql db
  2. # copy or symlink this file to config/database.yml to use it
  3. default: &default
  4. # For details on connection pooling, see Rails configuration guide
  5. # http://guides.rubyonrails.org/configuring.html#database-pooling
  6. pool: 50
  7. timeout: 5000
  8. encoding: utf8
  9. ##### postgresql config #####
  10. adapter: postgresql
  11. # username: zammad
  12. # password:
  13. #### mysql config #####
  14. # adapter: mysql2
  15. # username: zammad
  16. # password: <Password>
  17. production:
  18. <<: *default
  19. database: zammad_production
  20. development:
  21. <<: *default
  22. database: zammad_development
  23. # Warning: The database defined as "test" will be erased and
  24. # re-generated from your development database when you run "rake".
  25. # Do not set this db to the same as development or production.
  26. test:
  27. <<: *default
  28. database: zammad_test