# Database Config Documentation

**URL:** <https://www.ruby-forum.com/t/database-config-documentation/129436>\
**Category:** Rails\
**Created:** [February 18, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/database-config-documentation/129436 "2008-02-18T16:44:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [February 18, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/database-config-documentation/129436/1 "2008-02-18T16:44:59Z")

</div>

I’m am extremely confused (disappointed?) right now. For the life of  
me, I can’t find any documentation on database setup, database.yml  
setup, etc. This seems like the most basic thing in the world. How  
did I miss this? None of the tutorials, faqs, anything seem to  
address this. The default config is setup for sqllite, which is fine,  
but I’d love to use mysql. I also know there are specific naming  
conventions for tables and columns, but where is this documented?  
Shouldn’t this be extremely easy to track down?

---

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [February 18, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/database-config-documentation/129436/2 "2008-02-18T17:11:35Z")

</div>

I agree with you, there should be better documentation on such a basic  
and one of the few config files. This example should be good enough  
for you for the database.yml file:

[http://dev.rubyonrails.org/attachment/ticket/7590/added\_more\_comments\_to\_database\_yml.diff](http://dev.rubyonrails.org/attachment/ticket/7590/added_more_comments_to_database_yml.diff)

---

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [February 18, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/database-config-documentation/129436/3 "2008-02-18T17:13:59Z")

</div>

Great, thanks! That’s perfect.

I’ve also found this on conventions:  
[http://rails.raaum.org/database-conventions.html](http://rails.raaum.org/database-conventions.html)
