Upgraded Rails and RSpec
[monkeycharger.git] / vendor / rails / railties / configs / databases / mysql.yml
blob629a3eb23bfb0d6a87fcb27381cd11f14b40a469
1 # MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
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.
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: <%= app_name %>_development
21   username: root
22   password:
23 <% if socket -%>
24   socket: <%= socket %>
25 <% else -%>
26   host: localhost
27 <% end -%>
29 # Warning: The database defined as 'test' will be erased and
30 # re-generated from your development database when you run 'rake'.
31 # Do not set this db to the same as development or production.
32 test:
33   adapter: mysql
34   encoding: utf8
35   database: <%= app_name %>_test
36   username: root
37   password:
38 <% if socket -%>
39   socket: <%= socket %>
40 <% else -%>
41   host: localhost
42 <% end -%>
44 production:
45   adapter: mysql
46   encoding: utf8
47   database: <%= app_name %>_production
48   username: root
49   password: 
50 <% if socket -%>
51   socket: <%= socket %>
52 <% else -%>
53   host: localhost
54 <% end -%>