Skip to content
Browse files

Fixed indentation of database.yml examples.

  • Loading branch information...
1 parent 87f7093 commit c7e2b6413df8b1c5609f6e5434a2557f2e178cd7 @rohit rohit committed with mnaberez Apr 10, 2010
Showing with 13 additions and 13 deletions.
  1. +13 −13 railties/guides/source/getting_started.textile
View
26 railties/guides/source/getting_started.textile
@@ -232,13 +232,13 @@ If you choose to use MySQL instead of the shipped Sqlite3 database, your +config
<yaml>
development:
-adapter: mysql
-encoding: utf8
-database: blog_development
-pool: 5
-username: root
-password:
-socket: /tmp/mysql.sock
+ adapter: mysql
+ encoding: utf8
+ database: blog_development
+ pool: 5
+ username: root
+ password:
+ socket: /tmp/mysql.sock
</yaml>
If your development computer's MySQL installation includes a root user with an empty password, this configuration should work for you. Otherwise, change the username and password in the +development+ section as appropriate.
@@ -249,12 +249,12 @@ Finally if you choose to use PostgreSQL, your +config/database.yml+ will be cust
<yaml>
development:
-adapter: postgresql
-encoding: unicode
-database: blog_development
-pool: 5
-username: blog
-password:
+ adapter: postgresql
+ encoding: unicode
+ database: blog_development
+ pool: 5
+ username: blog
+ password:
</yaml>
Change the username and password in the +development+ section as appropriate.

0 comments on commit c7e2b64

Please sign in to comment.
Something went wrong with that request. Please try again.