source: subversion/sites/rails_port/config/database.yml @ 14599

Last change on this file since 14599 was 14586, checked in by tomhughes, 11 years ago

Merge api06 branch to trunk.

File size: 992 bytes
Line 
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
13development:
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.
24test:
25  adapter: mysql
26  database: osm_test
27  username: osm_test
28  password: osm_test
29  host: localhost
30  encoding: utf8
31
32production:
33  adapter: mysql
34  database: osm
35  username: osm
36  password: osm
37  host: localhost
38  encoding: utf8
Note: See TracBrowser for help on using the repository browser.