database.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # If the database server is not on localhost, you can set hostname and port:
  14. # host:
  15. # port:
  16. #### mysql config #####
  17. # adapter: mysql2
  18. # username: zammad
  19. # password: <Password>
  20. # If the database server is not on localhost, you can set hostname and port:
  21. # host:
  22. # port:
  23. production:
  24. <<: *default
  25. database: zammad_production
  26. development:
  27. <<: *default
  28. database: zammad_development
  29. # Warning: The database defined as "test" will be erased and
  30. # re-generated from your development database when you run "rake".
  31. # Do not set this db to the same as development or production.
  32. test:
  33. <<: *default
  34. database: zammad_test