~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/railties/configs/databases/mysql.yml

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
  reconnect: false
 
21
  database: <%= app_name %>_development
 
22
  pool: 5
 
23
  username: root
 
24
  password:
 
25
<% if socket -%>
 
26
  socket: <%= socket %>
 
27
<% else -%>
 
28
  host: localhost
 
29
<% end -%>
 
30
 
 
31
# Warning: The database defined as "test" will be erased and
 
32
# re-generated from your development database when you run "rake".
 
33
# Do not set this db to the same as development or production.
 
34
test:
 
35
  adapter: mysql
 
36
  encoding: utf8
 
37
  reconnect: false
 
38
  database: <%= app_name %>_test
 
39
  pool: 5
 
40
  username: root
 
41
  password:
 
42
<% if socket -%>
 
43
  socket: <%= socket %>
 
44
<% else -%>
 
45
  host: localhost
 
46
<% end -%>
 
47
 
 
48
production:
 
49
  adapter: mysql
 
50
  encoding: utf8
 
51
  reconnect: false
 
52
  database: <%= app_name %>_production
 
53
  pool: 5
 
54
  username: root
 
55
  password: 
 
56
<% if socket -%>
 
57
  socket: <%= socket %>
 
58
<% else -%>
 
59
  host: localhost
 
60
<% end -%>