database.yml 1.0 KB

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