Blob of config/database.sample.yml (raw blob data)

1 # MySQL (default setup). Versions 4.1 and 5.0 are recommended.
2 #
3 # Install the MySQL driver:
4 # gem install mysql
5 # On MacOS X:
6 # gem install mysql -- --include=/usr/local/lib
7 # On Windows:
8 # gem install mysql
9 # Choose the win32 build.
10 # Install MySQL and put its /bin directory on your path.
11 #
12 # And be sure to use new-style password hashing:
13 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
14 development:
15 adapter: mysql
16 database: gitorious_development
17 username: root
18 password:
19 host: localhost
20
21 # Warning: The database defined as 'test' will be erased and
22 # re-generated from your development database when you run 'rake'.
23 # Do not set this db to the same as development or production.
24 test:
25 adapter: mysql
26 database: gitorious_test
27 username: root
28 password:
29 host: localhost
30
31 production:
32 adapter: mysql
33 database: gitorious_production
34 username: root
35 password:
36 host: localhost