summaryrefslogtreecommitdiffstats
path: root/config/database.yml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-05 20:45:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-05 20:45:04 +0000
commit96f83cc8f0f032554f771a59da22303cd473b878 (patch)
tree355a0d2ed653a5426c59ebf6a1fe65eba024b4d0 /config/database.yml
parenteabc04d8368824965d3ac8de3fa84502e9c05d38 (diff)
downloadredmine-96f83cc8f0f032554f771a59da22303cd473b878.tar.gz
redmine-96f83cc8f0f032554f771a59da22303cd473b878.zip
trunk moved from /trunk/redmine to /trunk
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml69
1 files changed, 69 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 000000000..cfb6f13df
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,69 @@
+# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
+#
+# Get the fast C bindings:
+# gem install mysql
+# (on OS X: gem install mysql -- --include=/usr/local/lib)
+# And be sure to use new-style password hashing:
+# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
+
+production:
+ adapter: mysql
+ database: redmine
+ host: localhost
+ username: root
+ password:
+
+development:
+ adapter: mysql
+ database: redmine_development
+ host: localhost
+ username: root
+ password:
+
+development_pgsql:
+ adapter: postgresql
+ database: redmine
+ host: localhost
+ username: postgres
+ password: "postgres"
+
+development_oracle:
+ adapter: oci
+ host: 192.168.0.14
+ username: rails
+ password: "rails"
+
+development_sqlserver:
+ adapter: sqlserver
+ host: localhost,1157
+ database: redmine
+
+test:
+ adapter: mysql
+ database: redmine_test
+ host: localhost
+ username: root
+ password:
+
+test_pgsql:
+ adapter: postgresql
+ database: redmine
+ host: localhost
+ username: postgres
+ password: "postgres"
+
+test_oracle:
+ adapter: oci
+ host: 192.168.0.14
+ username: rails_test
+ password: "rails"
+
+test_sqlserver:
+ adapter: sqlserver
+ host: localhost,1157
+ database: redmine_test
+
+demo:
+ adapter: sqlite3
+ dbfile: db/redmine_demo.db
+