]> git.openstreetmap.org Git - rails.git/blob - config/database.yml
label changesets as (big) based on their bbox area
[rails.git] / config / database.yml
1 # MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
2 #
3 # Install the MySQL driver:
4 #   gem install mysql
5 # On MacOS X:
6 #   gem install mysql -- --include=/usr/local/lib
7 # On Windows:
8 #   There is no gem for Windows.  Install mysql.so from RubyForApache.
9 #   http://rubyforge.org/projects/rubyforapache
10 #
11 # And be sure to use new-style password hashing:
12 #   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
13 development:
14   adapter: mysql
15   database: openstreetmap
16   username: openstreetmap
17   password: openstreetmap
18   host: localhost
19   encoding: utf8
20
21 # Warning: The database defined as 'test' will be erased and
22 # re-generated from your development database when you run 'rake'.
23 # Do not set this db to the same as development or production.
24 test:
25   adapter: mysql
26   database: osm_test
27   username: osm_test
28   password: osm_test
29   host: localhost
30   encoding: utf8
31
32 production:
33   adapter: mysql
34   database: osm
35   username: osm
36   password: osm
37   host: localhost
38   encoding: utf8