1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixed indentation of database.yml examples.

This commit is contained in:
Rohit Arondekar 2010-04-10 18:28:57 -07:00 committed by Mike Naberezny
parent 87f7093ee3
commit c7e2b6413d

View file

@ -232,13 +232,13 @@ If you choose to use MySQL instead of the shipped Sqlite3 database, your +config
<yaml> <yaml>
development: development:
adapter: mysql adapter: mysql
encoding: utf8 encoding: utf8
database: blog_development database: blog_development
pool: 5 pool: 5
username: root username: root
password: password:
socket: /tmp/mysql.sock socket: /tmp/mysql.sock
</yaml> </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. 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> <yaml>
development: development:
adapter: postgresql adapter: postgresql
encoding: unicode encoding: unicode
database: blog_development database: blog_development
pool: 5 pool: 5
username: blog username: blog
password: password:
</yaml> </yaml>
Change the username and password in the +development+ section as appropriate. Change the username and password in the +development+ section as appropriate.