Home > rails-db-creator

rails-db-creator

Rails-db-creator is a project mainly written in Ruby, it's free.

Generate database and user creation SQL in MySQL's syntax.

  1. add rails-dbc.rb to your PATH
  2. use it like this:

$ cd some-rails-project $ rails-dbc.rb | mysql -u root

database and user are created with database.yml's definition.