diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-14 20:38:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-14 20:38:08 +0000 |
commit | adb4a575dc8878f043e8bf54a6a542ee618a1e64 (patch) | |
tree | 7dd5189ff4a3f2e64588b56704d97ad734cd0b21 /config/database.yml.example | |
parent | 0be82ea2c45eb2d95e5cde32365dea8a5b333123 (diff) | |
download | redmine-adb4a575dc8878f043e8bf54a6a542ee618a1e64.tar.gz redmine-adb4a575dc8878f043e8bf54a6a542ee618a1e64.zip |
Adds SQL server example and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11373 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/database.yml.example')
-rw-r--r-- | config/database.yml.example | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/config/database.yml.example b/config/database.yml.example index 5cbb42338..5bcf17bd6 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -1,6 +1,7 @@ # 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`. -# Examples for PostgreSQL and SQLite3 can be found at the end. +# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end. +# Line indentation must be 2 spaces (no tabs). production: adapter: mysql2 @@ -29,13 +30,23 @@ test: password: "" encoding: utf8 -test_pgsql: - adapter: postgresql - database: redmine_test - host: localhost - username: postgres - password: "postgres" +# PostgreSQL configuration example +#production: +# adapter: postgresql +# database: redmine +# host: localhost +# username: postgres +# password: "postgres" + +# SQLite3 configuration example +#production: +# adapter: sqlite3 +# database: db/redmine.sqlite3 -test_sqlite3: - adapter: sqlite3 - database: db/test.sqlite3 +# SQL Server configuration example +#production: +# adapter: sqlserver +# database: redmine +# host: localhost +# username: jenkins +# password: jenkins |