view config/database.yml.example @ 13:33e8202c7e5d

Added example database.yml.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 12:06:48 -0700
parents
children 99d0adfd5453
line wrap: on
line source

# Copy this to "database.yml" and adjust the fields accordingly.
# Show work with any adapter.
login: &login
  adapter: mysql2
  username: zp
  password: silica
  host: 127.0.0.1

development:
  database: zeropaste_dev
  <<: *login

test:
  database: zeropaste_test
  <<: *login

production:
  database: zeropaste
  <<: *login