Error during rake db:migrate


#1

Hi,
I am using rails 2.2. I am getting an error during migration.
Whenever I am running “rake db:migrate”, I am getting an error

"(in E:/Rails2.2/rails_demo)
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install
the mysql gem and try again: gem install mysql.
rake aborted!
126: The specified module could not be found. -
E:/ruby/lib/ruby/gems/1.8/gems
/mysql-2.7.3-x86-mswin32/ext/mysql.so
"
I installed mysql gem by using “gem install mysql”.
My gem list is ::
*** LOCAL GEMS ***

actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
cgi_multipart_eof_fix (2.5.0)
fxri (0.3.6)
fxruby (1.6.12)
gem_plugin (0.2.3)
hpricot (0.6)
log4r (1.0.5)
mongrel (1.1.2)
mysql (2.7.3)
rails (2.2.2)
rake (0.8.3, 0.7.3)
ruby-debug-base (0.10.0)
ruby-debug-ide (0.1.10)
rubygems-update (1.3.1)

Can any help me out to solve this error?
Thanks,
Tushar


#2

update your mysql version and check


#3

install gem 'name ’
=>gem install mysql or dowanload for your rails version and install
locally from rubyforge and put it in your root directory

c://gem install -l mysql