@@ -1,9 +1,9 | |||
|
1 |
# Default setup is given for MySQL with ruby1. |
|
|
2 |
# with MySQL and ruby1. |
|
|
1 | # Default setup is given for MySQL with ruby1.9. If you're running Redmine | |
|
2 | # with MySQL and ruby1.8, replace the adapter name with `mysql`. | |
|
3 | 3 | # Examples for PostgreSQL and SQLite3 can be found at the end. |
|
4 | 4 | |
|
5 | 5 | production: |
|
6 | adapter: mysql | |
|
6 | adapter: mysql2 | |
|
7 | 7 | database: redmine |
|
8 | 8 | host: localhost |
|
9 | 9 | username: root |
@@ -11,7 +11,7 production: | |||
|
11 | 11 | encoding: utf8 |
|
12 | 12 | |
|
13 | 13 | development: |
|
14 | adapter: mysql | |
|
14 | adapter: mysql2 | |
|
15 | 15 | database: redmine_development |
|
16 | 16 | host: localhost |
|
17 | 17 | username: root |
@@ -22,7 +22,7 development: | |||
|
22 | 22 | # re-generated from your development database when you run "rake". |
|
23 | 23 | # Do not set this db to the same as development or production. |
|
24 | 24 | test: |
|
25 | adapter: mysql | |
|
25 | adapter: mysql2 | |
|
26 | 26 | database: redmine_test |
|
27 | 27 | host: localhost |
|
28 | 28 | username: root |
@@ -27,10 +27,10 Optional: | |||
|
27 | 27 | 2. Create an empty utf8 encoded database: "redmine" for example |
|
28 | 28 | |
|
29 | 29 | 3. Configure the database parameters in config/database.yml |
|
30 |
for the "production" environment (default database is MySQL and ruby1. |
|
|
30 | for the "production" environment (default database is MySQL and ruby1.9) | |
|
31 | 31 | |
|
32 |
If you're running Redmine with MySQL and ruby1. |
|
|
33 |
with `mysql |
|
|
32 | If you're running Redmine with MySQL and ruby1.8, replace the adapter name | |
|
33 | with `mysql` | |
|
34 | 34 | |
|
35 | 35 | 4. Install the required gems by running: |
|
36 | 36 | bundle install --without development test |
General Comments 0
You need to be logged in to leave comments.
Login now