2012-04-14 10:53:10 +04:00
|
|
|
# Default setup is given for MySQL with ruby1.8. If you're running Redmine
|
|
|
|
# with MySQL and ruby1.9, replace the adapter name with `mysql2`.
|
|
|
|
# Examples for PostgreSQL and SQLite3 can be found at the end.
|
2006-07-09 20:30:01 +04:00
|
|
|
|
|
|
|
production:
|
|
|
|
adapter: mysql
|
|
|
|
database: redmine
|
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
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:
|
|
|
|
adapter: mysql
|
2007-09-28 02:30:57 +04:00
|
|
|
database: redmine_development
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
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:
|
|
|
|
adapter: mysql
|
2007-09-28 02:30:57 +04:00
|
|
|
database: redmine_test
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
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
|