Kwestie (master) :  summary log tree commit diff
path: root/config/database.yml blob: c4c405a82e6672c382f3257f0d03ee42f71fdb73
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
14development:
15 adapter: mysql
16 database: kwestie_development
17 username: root
18 password:
19 socket: /var/lib/mysql/mysql.sock
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.
24test:
25 adapter: mysql
26 database: kwestie_test
27 username: root
28 password:
29 socket: /var/lib/mysql/mysql.sock
30
31production:
32 adapter: mysql
33 database: kwestie_production
34 username: root
35 password:
36 socket: /var/lib/mysql/mysql.sock
37