]> git.openstreetmap.org Git - rails.git/commitdiff
Change the example database.yml to use unix socket connections
authorTom Hughes <tom@compton.nu>
Tue, 30 Jul 2013 10:21:25 +0000 (11:21 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 30 Jul 2013 10:21:25 +0000 (11:21 +0100)
config/example.database.yml

index e075d7f8df7b695cbc53940940e744c5adcf48b2..17a683af436f1c6ac755e07d5bbb48b8aec15a0f 100644 (file)
@@ -6,7 +6,7 @@ development:
   database: openstreetmap
 #  username: openstreetmap
 #  password: openstreetmap
   database: openstreetmap
 #  username: openstreetmap
 #  password: openstreetmap
-  host: localhost
+#  host: localhost
   encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
   encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
@@ -17,7 +17,7 @@ test:
   database: osm_test
 #  username: osm_test
 #  password: osm_test
   database: osm_test
 #  username: osm_test
 #  password: osm_test
-  host: localhost
+#  host: localhost
   encoding: utf8
 
 production:
   encoding: utf8
 
 production:
@@ -25,5 +25,5 @@ production:
   database: osm
 #  username: osm
 #  password: osm
   database: osm
 #  username: osm
 #  password: osm
-  host: localhost
+#  host: localhost
   encoding: utf8
   encoding: utf8