Skip to content

Commit

Permalink
Less spacing
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 7, 2005
1 parent e55426a commit 63e30a5
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions 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
Expand All @@ -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

Expand All @@ -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:

Expand Down

0 comments on commit 63e30a5

Please sign in to comment.