view config/database.yml.example @ 128:7efe5e87658e

Separated marked configuration.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 17:23:35 +0700
parents 1a2dee3b05b2
children bcca41003e84
line wrap: on
line source

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

development:
  database: zeropaste_dev
  <<: *login

test:
  database: zeropaste_test
  <<: *login

production:
  database: zeropaste
  <<: *login