Install Active Record Mysql Bindings gem install activerecord-mysql2-adapter Add mysql2 to your .Gemfile gem 'mysql2' Configure your DB Settings in config/database.yml development: adapter: mysql2 encoding: utf8 database: mysql_db_name pool: 5 username: root password: root_password socket: /tmp/mysql.sock Dump the db structure rake db:schema:dump Create a migration file for initial db state in migrate/create_database.rb class CreateDatabase < ActiveRecord::Migration def self.up # Insert your db schema here end end Create a model corresponding to your table name if your table names are not Rails Convention use set_table_name 'your_table_name'