2013-01-19 18:47:19 +04:00
|
|
|
# Default setup is given for MySQL with ruby1.9. If you're running Redmine
|
|
|
|
# with MySQL and ruby1.8, replace the adapter name with `mysql`.
|
2012-04-14 10:51:16 +04:00
|
|
|
# Examples for PostgreSQL and SQLite3 can be found at the end.
|
2006-07-09 20:30:01 +04:00
|
|
|
|
|
|
|
production:
|
2013-01-19 18:47:19 +04:00
|
|
|
adapter: mysql2
|
2006-07-09 20:30:01 +04:00
|
|
|
database: redmine
|
|
|
|
host: localhost
|
|
|
|
username: root
|
2012-10-27 12:50:33 +04:00
|
|
|
password: ""
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2011-08-24 07:50:26 +04:00
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
development:
|
2013-01-19 18:47:19 +04:00
|
|
|
adapter: mysql2
|
2007-09-28 02:30:57 +04:00
|
|
|
database: redmine_development
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
2012-10-27 12:50:33 +04:00
|
|
|
password: ""
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2007-09-28 02:30:57 +04:00
|
|
|
|
2010-03-12 16:48:14 +03:00
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
|
|
|
# Do not set this db to the same as development or production.
|
2006-06-28 22:11:03 +04:00
|
|
|
test:
|
2013-01-19 18:47:19 +04:00
|
|
|
adapter: mysql2
|
2007-09-28 02:30:57 +04:00
|
|
|
database: redmine_test
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
2012-10-27 12:50:33 +04:00
|
|
|
password: ""
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2006-07-09 20:30:01 +04:00
|
|
|
|
|
|
|
test_pgsql:
|
|
|
|
adapter: postgresql
|
2008-01-20 17:24:19 +03:00
|
|
|
database: redmine_test
|
2006-07-09 20:30:01 +04:00
|
|
|
host: localhost
|
|
|
|
username: postgres
|
|
|
|
password: "postgres"
|
|
|
|
|
2008-01-20 17:24:19 +03:00
|
|
|
test_sqlite3:
|
|
|
|
adapter: sqlite3
|
2011-01-23 13:25:48 +03:00
|
|
|
database: db/test.sqlite3
|