]> git.openstreetmap.org Git - rails.git/blobdiff - config/database.yml
mini fix
[rails.git] / config / database.yml
index d366bc96b3922ed66c0e3f9037044c99932783ae..cc3f9a1a5fb26e4fd5b2186728c3e4d5c6b45127 100644 (file)
 #   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
 development:
   adapter: mysql
 #   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
 development:
   adapter: mysql
-  database: osm
+  database: openstreetmap
   username: openstreetmap
   password: openstreetmap
   host: localhost
   username: openstreetmap
   password: openstreetmap
   host: localhost
+  encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
 # re-generated from your development database when you run 'rake'.
 
 # Warning: The database defined as 'test' will be erased and
 # re-generated from your development database when you run 'rake'.
@@ -23,13 +24,15 @@ development:
 test:
   adapter: mysql
   database: osm_test
 test:
   adapter: mysql
   database: osm_test
-  username: root
-  password:
+  username: osm_test
+  password: osm_test
   host: localhost
   host: localhost
+  encoding: utf8
 
 production:
   adapter: mysql
 
 production:
   adapter: mysql
-  database: openstreetmap
-  username: openstreetmap
-  password: openstreetmap
-  host: db.openstreetmap.org
+  database: osm
+  username: osm
+  password: osm
+  host: localhost
+  encoding: utf8