Database Config Documentation

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?

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

Great, thanks! That's perfect.

I've also found this on conventions: http://rails.raaum.org/database-conventions.html