Hi, Can you just check once again that you don't have two migration files creating books table? If not then you can choose books tables manually.
Thanks, --Haribhau On Sat, May 29, 2010 at 3:24 AM, DVM <[email protected]> wrote: > I am beginner for this Rails from the past 2 days I am working hard > to fix the following error > > C:\Murali Rubby\demo\library>rake db:migrate > (in C:/Murali Rubby/demo/library) > == CreateBooks: migrating > ==================================================== > -- create_table(:books) > rake aborted! > An error has occurred, all later migrations canceled: > > Mysql::Error: Table 'books' already exists: CREATE TABLE `books` (`id` > int(11) D > EFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime, > `updated_at` date > time) ENGINE=InnoDB > > (See full trace by running task with --trace) > > I spend almost like 20 hrs but I didn't find the way to fix it. > > I am working on the example given in the tutorialpoint website... > Please help me ... Thanks in advance for your time. > > -- > 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]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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.

