f955bb4856ab1c78bdf21a9071df1d52be6f69d1
[depot.git] / config / database.yml
1 # MySQL. Versions 4.1 and 5.0 are recommended.
2 #
3 # Install the MySQL driver:
4 # gem install mysql
5 # On Mac OS X:
6 # sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
7 # On Mac OS X Leopard:
8 # sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
9 # This sets the ARCHFLAGS environment variable to your native architecture
10 # On Windows:
11 # gem install mysql
12 # Choose the win32 build.
13 # Install MySQL and put its /bin directory on your path.
14 #
15 # And be sure to use new-style password hashing:
16 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
17 development:
18 adapter: mysql
19 encoding: utf8
20 database: depot_development
21 pool: 5
22 username: depot
23 password:
24 socket: /var/run/mysqld/mysqld.sock
25
26 # Warning: The database defined as "test" will be erased and
27 # re-generated from your development database when you run "rake".
28 # Do not set this db to the same as development or production.
29 test:
30 adapter: mysql
31 encoding: utf8
32 database: depot_test
33 pool: 5
34 username: depot
35 password:
36 socket: /var/run/mysqld/mysqld.sock
37
38 production:
39 adapter: mysql
40 encoding: utf8
41 database: depot_production
42 pool: 5
43 username: root
44 password:
45 socket: /var/run/mysqld/mysqld.sock