Sha256: 72626d39e357da9a4dcc0871c23d1c43203f3c4b8286d332de032630aee8ed54

Contents?: true

Size: 1.05 KB

Versions: 16

Compression:

Stored size: 1.05 KB

Contents

# MySQL.  Versions 4.1 and 5.0 are recommended.
# Be sure to use new-style password hashing:
#   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: <%= app_name %>_development
  pool: 5
  username: root
  password:
<% if mysql_socket -%>
  socket: <%= mysql_socket %>
<% else -%>
  host: localhost
<% end -%>

# 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: &test
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: <%= app_name %>_test
  pool: 5
  username: root
  password:
<% if mysql_socket -%>
  socket: <%= mysql_socket %>
<% else -%>
  host: localhost
<% end -%>

cucumber: *test

production: 
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: <%= app_name %>_production
  pool: 5
  username: root
  password:
<% if mysql_socket -%>
  socket: <%= mysql_socket %>
<% else -%>
  host: localhost
<% end -%>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wagn-1.14.9 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.8 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.7 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.6 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.5 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.4 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.3 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.2 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.1 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.0 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.0.pre3 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.0.pre2 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.14.0.pre1 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.13.0 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.13.0.pre2 lib/wagn/generators/wagn/templates/config/databases/mysql.yml
wagn-1.13.0.pre1 lib/wagn/generators/wagn/templates/config/databases/mysql.yml