From 63e30a5cae7140742059804998371f4e0596f549 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Nov 2005 18:07:05 +0000 Subject: Less spacing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/database.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'railties') diff --git a/railties/configs/database.yml b/railties/configs/database.yml index 581c59f5d5..9e83ee3639 100644 --- a/railties/configs/database.yml +++ b/railties/configs/database.yml @@ -1,8 +1,4 @@ -# Set up database connections for each environment. -# By default, development, test, and production connect to local MySQL. -# Example configurations for PostgreSQL and SQLite are at the end. - -# MySQL. Versions 4.1 and 5.0 are recommended. +# MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Get the fast C bindings: # gem install mysql @@ -14,11 +10,10 @@ development: database: <%= app_name %>_development username: root password: - - <%= "socket: #{socket}" if socket %> +<%= " socket: #{socket}" if socket -%> # Connect on a TCP socket. If omitted, the adapter will connect on the - # domain socket given by the socket parameter instead. + # domain socket given by socket instead. #host: localhost #port: 3306 @@ -28,14 +23,14 @@ development: test: adapter: mysql database: <%= app_name %>_test - <%= "socket: #{socket}" if socket %> +<%= " socket: #{socket}" if socket -%> username: root password: production: adapter: mysql database: <%= app_name %>_production - <%= "socket: #{socket}" if socket %> +<%= " socket: #{socket}" if socket -%> username: root password: -- cgit v1.2.3