summaryrefslogtreecommitdiff
path: root/config/database.yml
blob: c4c405a82e6672c382f3257f0d03ee42f71fdb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
#   gem install mysql
# On MacOS X:
#   gem install mysql -- --include=/usr/local/lib
# On Windows:
#   gem install mysql
#       Choose the win32 build.
#       Install MySQL and put its /bin directory on your path.
#
# And be sure to use new-style password hashing:
#   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
  adapter: mysql
  database: kwestie_development
  username: root
  password:
  socket: /var/lib/mysql/mysql.sock

# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
# Do not set this db to the same as development or production.
test:
  adapter: mysql
  database: kwestie_test
  username: root
  password:
  socket: /var/lib/mysql/mysql.sock

production:
  adapter: mysql
  database: kwestie_production
  username: root
  password: 
  socket: /var/lib/mysql/mysql.sock