Mercurial > zeropaste
annotate 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 |
rev | line source |
---|---|
13 | 1 # Copy this to "database.yml" and adjust the fields accordingly. |
82 | 2 # Should work with any adapter. |
13 | 3 login: &login |
4 adapter: mysql2 | |
19
99d0adfd5453
Added some default config for database.
Edho Arief <edho@myconan.net>
parents:
13
diff
changeset
|
5 encoding: utf8 |
99d0adfd5453
Added some default config for database.
Edho Arief <edho@myconan.net>
parents:
13
diff
changeset
|
6 pool: 5 |
13 | 7 username: zp |
8 password: silica | |
9 host: 127.0.0.1 | |
10 | |
11 development: | |
12 database: zeropaste_dev | |
13 <<: *login | |
14 | |
15 test: | |
16 database: zeropaste_test | |
17 <<: *login | |
18 | |
19 production: | |
20 database: zeropaste | |
21 <<: *login |