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`.
|
2013-02-15 00:38:08 +04:00
|
|
|
# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
|
|
|
|
# Line indentation must be 2 spaces (no tabs).
|
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
|
|
|
|
2013-02-15 00:38:08 +04:00
|
|
|
# PostgreSQL configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: postgresql
|
|
|
|
# database: redmine
|
|
|
|
# host: localhost
|
|
|
|
# username: postgres
|
|
|
|
# password: "postgres"
|
|
|
|
|
|
|
|
# SQLite3 configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: sqlite3
|
|
|
|
# database: db/redmine.sqlite3
|
2006-07-09 20:30:01 +04:00
|
|
|
|
2013-02-15 00:38:08 +04:00
|
|
|
# SQL Server configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: sqlserver
|
|
|
|
# database: redmine
|
|
|
|
# host: localhost
|
|
|
|
# username: jenkins
|
|
|
|
# password: jenkins
|