Revision 11373
Added by Jean-Philippe Lang over 12 years ago
database.yml.example | ||
---|---|---|
1 | 1 |
# Default setup is given for MySQL with ruby1.9. If you're running Redmine |
2 | 2 |
# with MySQL and ruby1.8, replace the adapter name with `mysql`. |
3 |
# Examples for PostgreSQL and SQLite3 can be found at the end. |
|
3 |
# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end. |
|
4 |
# Line indentation must be 2 spaces (no tabs). |
|
4 | 5 |
|
5 | 6 |
production: |
6 | 7 |
adapter: mysql2 |
... | ... | |
29 | 30 |
password: "" |
30 | 31 |
encoding: utf8 |
31 | 32 |
|
32 |
test_pgsql: |
|
33 |
adapter: postgresql |
|
34 |
database: redmine_test |
|
35 |
host: localhost |
|
36 |
username: postgres |
|
37 |
password: "postgres" |
|
33 |
# PostgreSQL configuration example |
|
34 |
#production: |
|
35 |
# adapter: postgresql |
|
36 |
# database: redmine |
|
37 |
# host: localhost |
|
38 |
# username: postgres |
|
39 |
# password: "postgres" |
|
38 | 40 |
|
39 |
test_sqlite3: |
|
40 |
adapter: sqlite3 |
|
41 |
database: db/test.sqlite3 |
|
41 |
# SQLite3 configuration example |
|
42 |
#production: |
|
43 |
# adapter: sqlite3 |
|
44 |
# database: db/redmine.sqlite3 |
|
45 |
|
|
46 |
# SQL Server configuration example |
|
47 |
#production: |
|
48 |
# adapter: sqlserver |
|
49 |
# database: redmine |
|
50 |
# host: localhost |
|
51 |
# username: jenkins |
|
52 |
# password: jenkins |
Also available in: Unified diff
Adds SQL server example and cleanup.