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