@@ -1,39 +1,41 | |||
|
1 | # MySQL (default setup). | |
|
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. | |
|
2 | 4 | |
|
3 | 5 | production: |
|
4 | 6 | adapter: mysql |
|
5 | 7 | database: redmine |
|
6 | 8 | host: localhost |
|
7 | 9 | username: root |
|
8 | 10 | password: |
|
9 | 11 | encoding: utf8 |
|
10 | 12 | |
|
11 | 13 | development: |
|
12 | 14 | adapter: mysql |
|
13 | 15 | database: redmine_development |
|
14 | 16 | host: localhost |
|
15 | 17 | username: root |
|
16 | 18 | password: |
|
17 | 19 | encoding: utf8 |
|
18 | 20 | |
|
19 | 21 | # Warning: The database defined as "test" will be erased and |
|
20 | 22 | # re-generated from your development database when you run "rake". |
|
21 | 23 | # Do not set this db to the same as development or production. |
|
22 | 24 | test: |
|
23 | 25 | adapter: mysql |
|
24 | 26 | database: redmine_test |
|
25 | 27 | host: localhost |
|
26 | 28 | username: root |
|
27 | 29 | password: |
|
28 | 30 | encoding: utf8 |
|
29 | 31 | |
|
30 | 32 | test_pgsql: |
|
31 | 33 | adapter: postgresql |
|
32 | 34 | database: redmine_test |
|
33 | 35 | host: localhost |
|
34 | 36 | username: postgres |
|
35 | 37 | password: "postgres" |
|
36 | 38 | |
|
37 | 39 | test_sqlite3: |
|
38 | 40 | adapter: sqlite3 |
|
39 | 41 | database: db/test.sqlite3 |
General Comments 0
You need to be logged in to leave comments.
Login now