Sha256: 2c40091a97a233b5dfd9cb9e2cd482e0efd956b56ce10ce0102c56a6fdb251a7

Contents?: true

Size: 1.14 KB

Versions: 29

Compression:

Stored size: 1.14 KB

Contents

<%
  app_name_short = ENV['APP_NAME'][0..15]
-%>
# MySQL.  Versions 4.1 and 5.0 are recommended.
# 
# Install the MYSQL driver
#   gem install mysql2
#
# Ensure the MySQL gem is defined in your Gemfile
#   gem 'mysql2'
#
# And 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_short %>_dev
  pool: 5
  username: <%= app_name_short %>
  password: <%= app_name_short %>
  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: mysql2
  encoding: utf8
  reconnect: false
  database: <%= app_name_short %>_test
  pool: 5
  username: <%= app_name_short %>
  password: <%= app_name_short %>
  socket: /var/lib/mysql/mysql.sock

production:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: <%= app_name_short %>_pro
  pool: 5
  username: <%= app_name_short %>
  password: <%= app_name_short %>
  socket: /var/lib/mysql/mysql.sock

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
daddy-0.3.2 lib/tasks/database.yml.erb
daddy-0.3.1 lib/tasks/database.yml.erb
daddy-0.3.0 lib/tasks/database.yml.erb
daddy-0.2.23 lib/tasks/database.yml.erb
daddy-0.2.22 lib/tasks/database.yml.erb
daddy-0.2.21 lib/tasks/database.yml.erb
daddy-0.2.20 lib/tasks/database.yml.erb
daddy-0.2.19 lib/tasks/database.yml.erb
daddy-0.2.18 lib/tasks/database.yml.erb
daddy-0.2.17 lib/tasks/database.yml.erb
daddy-0.2.16 lib/tasks/database.yml.erb
daddy-0.2.15 lib/tasks/database.yml.erb
daddy-0.2.14 lib/tasks/database.yml.erb
daddy-0.2.13 lib/tasks/database.yml.erb
daddy-0.2.12 lib/tasks/database.yml.erb
daddy-0.2.11 lib/tasks/database.yml.erb
daddy-0.2.10 lib/tasks/database.yml.erb
daddy-0.2.9 lib/tasks/database.yml.erb
daddy-0.2.8 lib/tasks/database.yml.erb
daddy-0.2.7 lib/tasks/database.yml.erb