Problems with rake task db:schema:load

Hi all,

I want to execute the rake task db:schema:load. I have created the
desired database in mySQL. But once I called the schema:load in rails, I
get neither an error message nor something else. Tables just havenâ??t
been created.

I have to admit that this may not be a detailed explanation of this case
but I have no clue which valuable information I can deliver in addition.

Maybe one of you guys struggled over the same issue and can give me some
advise what to do.

Cheers,
Y

On Oct 25, 7:09 pm, Guest [email protected] wrote:

I want to execute the rake task db:schema:load. I have created the
desired database in mySQL. But once I called the schema:load in rails, I
get neither an error message nor something else. Tables just haven’t
been created.

Do you have tables setup in your /db/schema.rb file? Have you setup
your /config/database.yml file?

How did you call the rake task? From a command line? And it returned no
results when you entered ‘rake db:schema:load’ ?

Unfortunately, we will need a bit more information to be able to help
you.


Ian N.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs