Skip to content


How to preconfigure your Ruby on Rails application for MySQL

Rails 2.0.2 now defaults your app’s database to SQLite3 (I believe because OSX comes pre-shipped with it).  In order to generate a rails application and having it setup to MySQL is pretty easy.

In your when you create your app add (-d mysql) in the rails command:  rails -d mysql myapp

Posted in Website Development.

blog comments powered by Disqus