@@ -1,42 +1,39 | |||||
1 | # MySQL (default setup). Versions 4.1 and 5.0 are recommended. |
|
1 | # MySQL (default setup). | |
2 | # |
|
|||
3 | # Get the fast C bindings: |
|
|||
4 | # gem install mysql |
|
|||
5 | # (on OS X: gem install mysql -- --include=/usr/local/lib) |
|
|||
6 | # And be sure to use new-style password hashing: |
|
|||
7 | # http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
|
|||
8 |
|
2 | |||
9 | production: |
|
3 | production: | |
10 | adapter: mysql |
|
4 | adapter: mysql | |
11 | database: redmine |
|
5 | database: redmine | |
12 | host: localhost |
|
6 | host: localhost | |
13 | username: root |
|
7 | username: root | |
14 | password: |
|
8 | password: | |
15 | encoding: utf8 |
|
9 | encoding: utf8 | |
16 |
|
10 | |||
17 | development: |
|
11 | development: | |
18 | adapter: mysql |
|
12 | adapter: mysql | |
19 | database: redmine_development |
|
13 | database: redmine_development | |
20 | host: localhost |
|
14 | host: localhost | |
21 | username: root |
|
15 | username: root | |
22 | password: |
|
16 | password: | |
23 | encoding: utf8 |
|
17 | encoding: utf8 | |
24 |
|
18 | |||
|
19 | # Warning: The database defined as "test" will be erased and | |||
|
20 | # re-generated from your development database when you run "rake". | |||
|
21 | # Do not set this db to the same as development or production. | |||
25 | test: |
|
22 | test: | |
26 | adapter: mysql |
|
23 | adapter: mysql | |
27 | database: redmine_test |
|
24 | database: redmine_test | |
28 | host: localhost |
|
25 | host: localhost | |
29 | username: root |
|
26 | username: root | |
30 | password: |
|
27 | password: | |
31 | encoding: utf8 |
|
28 | encoding: utf8 | |
32 |
|
29 | |||
33 | test_pgsql: |
|
30 | test_pgsql: | |
34 | adapter: postgresql |
|
31 | adapter: postgresql | |
35 | database: redmine_test |
|
32 | database: redmine_test | |
36 | host: localhost |
|
33 | host: localhost | |
37 | username: postgres |
|
34 | username: postgres | |
38 | password: "postgres" |
|
35 | password: "postgres" | |
39 |
|
36 | |||
40 | test_sqlite3: |
|
37 | test_sqlite3: | |
41 | adapter: sqlite3 |
|
38 | adapter: sqlite3 | |
42 | database: db/test.db |
|
39 | database: db/test.db |
General Comments 0
You need to be logged in to leave comments.
Login now