Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Created September 14, 2009 02:23
Show Gist options
  • Save ngpestelos/186450 to your computer and use it in GitHub Desktop.
Save ngpestelos/186450 to your computer and use it in GitHub Desktop.
You want to switch databases from sqlite (default) to Rails.
1. Create the database
$ mysql -u root create depot_development
2. Update config/database.yml
development:
adapter: mysql
database: depot_development
username: root
password:
host: localhost
Reference
Agile Web Development with Rails, 3rd Edition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment