You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database.yml.example 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Default setup is given for MySQL 5.7.7 or later.
  2. # Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
  3. # Line indentation must be 2 spaces (no tabs).
  4. production:
  5. adapter: mysql2
  6. database: redmine
  7. host: localhost
  8. username: root
  9. password: ""
  10. # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
  11. encoding: utf8mb4
  12. variables:
  13. # Recommended `transaction_isolation` for MySQL to avoid concurrency issues is
  14. # `READ-COMMITTED`.
  15. # In case of MySQL lower than 8, the variable name is `tx_isolation`.
  16. # See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
  17. transaction_isolation: "READ-COMMITTED"
  18. development:
  19. adapter: mysql2
  20. database: redmine_development
  21. host: localhost
  22. username: root
  23. password: ""
  24. # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
  25. encoding: utf8mb4
  26. variables:
  27. transaction_isolation: "READ-COMMITTED"
  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. adapter: mysql2
  33. database: redmine_test
  34. host: localhost
  35. username: root
  36. password: ""
  37. # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
  38. encoding: utf8mb4
  39. variables:
  40. transaction_isolation: "READ-COMMITTED"
  41. # PostgreSQL configuration example
  42. #production:
  43. # adapter: postgresql
  44. # database: redmine
  45. # host: localhost
  46. # username: postgres
  47. # password: "postgres"
  48. # SQLite3 configuration example
  49. #production:
  50. # adapter: sqlite3
  51. # database: db/redmine.sqlite3
  52. # SQL Server configuration example
  53. #production:
  54. # adapter: sqlserver
  55. # database: redmine
  56. # host: localhost
  57. # username: jenkins
  58. # password: jenkins