On 21 November 2011 11:30, amvis <[email protected]> wrote:
>
> i have download one rails application. i am using mysql database. so i need
> to get the existing database into mysql, and run that application. how  will
> run that application. i have search so many stuffs, but i didn't get related
> issues. how to migrate that schema into database.

Try
rake db:create
which should create the database according to the contents of schema.rb
Then
rake db:migrate
which will run any migrations that are not already in schema.rb.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to