To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / config / database.yml.example @ 1273:052ea7c838f6
History | View | Annotate | Download (942 Bytes)
| 1 |
# Default setup is given for MySQL with ruby1.8. If you're running Redmine |
|---|---|
| 2 |
# with MySQL and ruby1.9, replace the adapter name with `mysql2`. |
| 3 |
# Examples for PostgreSQL and SQLite3 can be found at the end. |
| 4 |
|
| 5 |
production: |
| 6 |
adapter: mysql |
| 7 |
database: redmine |
| 8 |
host: localhost |
| 9 |
username: root |
| 10 |
password: "" |
| 11 |
encoding: utf8 |
| 12 |
|
| 13 |
development: |
| 14 |
adapter: mysql |
| 15 |
database: redmine_development |
| 16 |
host: localhost |
| 17 |
username: root |
| 18 |
password: "" |
| 19 |
encoding: utf8 |
| 20 |
|
| 21 |
# Warning: The database defined as "test" will be erased and |
| 22 |
# re-generated from your development database when you run "rake". |
| 23 |
# Do not set this db to the same as development or production. |
| 24 |
test: |
| 25 |
adapter: mysql |
| 26 |
database: redmine_test |
| 27 |
host: localhost |
| 28 |
username: root |
| 29 |
password: "" |
| 30 |
encoding: utf8 |
| 31 |
|
| 32 |
test_pgsql: |
| 33 |
adapter: postgresql |
| 34 |
database: redmine_test |
| 35 |
host: localhost |
| 36 |
username: postgres |
| 37 |
password: "postgres" |
| 38 |
|
| 39 |
test_sqlite3: |
| 40 |
adapter: sqlite3 |
| 41 |
database: db/test.sqlite3 |