view config/database.yml.example @ 32:59ef6698fa0d

Rescue from not unique error by redirecting to previously pasted paste.
author Edho Arief <edho@myconan.net>
date Mon, 10 Sep 2012 04:14:31 +0700
parents 99d0adfd5453
children 1a2dee3b05b2
line wrap: on
line source

# Copy this to "database.yml" and adjust the fields accordingly.
# Show 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