aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/getting_started.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-04-14 01:00:03 -0700
committerXavier Noria <fxn@hashref.com>2010-04-14 01:00:03 -0700
commit9a4fdff0af0ba05ad77096ce835aeb4bf343a53f (patch)
treed4657c9e64fdc050695dd58cf419241ace32e7a6 /railties/guides/source/getting_started.textile
parent2ff5f38abb4a44ed5356c34b40d30d446fb63408 (diff)
parente090898c5e98e853828208343b3911a229563b62 (diff)
downloadrails-9a4fdff0af0ba05ad77096ce835aeb4bf343a53f.tar.gz
rails-9a4fdff0af0ba05ad77096ce835aeb4bf343a53f.tar.bz2
rails-9a4fdff0af0ba05ad77096ce835aeb4bf343a53f.zip
Merge commit 'docrails/master'
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r--railties/guides/source/getting_started.textile26
1 files changed, 13 insertions, 13 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 2bbb4dc252..cbace177f9 100644
--- a/railties/guides/source/getting_started.textile
+++ b/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.