1
|
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
|
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
|
|
9
|
production:
|
10
|
adapter: mysql
|
11
|
database: redmine
|
12
|
host: localhost
|
13
|
username: root
|
14
|
password:
|
15
|
encoding: utf8
|
16
|
|
17
|
development:
|
18
|
adapter: mysql
|
19
|
database: redmine_development
|
20
|
host: localhost
|
21
|
username: root
|
22
|
password:
|
23
|
encoding: utf8
|
24
|
|
25
|
test:
|
26
|
adapter: mysql
|
27
|
database: redmine_test
|
28
|
host: localhost
|
29
|
username: root
|
30
|
password:
|
31
|
encoding: utf8
|
32
|
|
33
|
test_pgsql:
|
34
|
adapter: postgresql
|
35
|
database: redmine_test
|
36
|
host: localhost
|
37
|
username: postgres
|
38
|
password: "postgres"
|
39
|
|
40
|
test_sqlite3:
|
41
|
adapter: sqlite3
|
42
|
dbfile: db/test.db
|
43
|
|
44
|
demo:
|
45
|
adapter: sqlite3
|
46
|
dbfile: db/demo.db
|
47
|
|