Adds SQL server example and cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11373 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-02-14 20:38:08 +00:00
parent 0be82ea2c4
commit adb4a575dc
1 changed files with 21 additions and 10 deletions

View File

@ -1,6 +1,7 @@
# Default setup is given for MySQL with ruby1.9. If you're running Redmine # 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`. # 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: production:
adapter: mysql2 adapter: mysql2
@ -29,13 +30,23 @@ test:
password: "" password: ""
encoding: utf8 encoding: utf8
test_pgsql: # PostgreSQL configuration example
adapter: postgresql #production:
database: redmine_test # adapter: postgresql
host: localhost # database: redmine
username: postgres # host: localhost
password: "postgres" # username: postgres
# password: "postgres"
test_sqlite3: # SQLite3 configuration example
adapter: sqlite3 #production:
database: db/test.sqlite3 # adapter: sqlite3
# database: db/redmine.sqlite3
# SQL Server configuration example
#production:
# adapter: sqlserver
# database: redmine
# host: localhost
# username: jenkins
# password: jenkins