view config/database.yml.example @ 83:ae360c3b0bb0

Disable explain when using jruby because it's not supported. The patch for this support exist but for some reason still not included in latest release of the jdbc adapter. Reference: https://github.com/jruby/activerecord-jdbc-adapter/pull/206
author Edho Arief <edho@myconan.net>
date Mon, 15 Oct 2012 03:45:18 -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