MySQL driver for Rails in Windows 7 x64

Posted by Darth on Stack Overflow See other posts from Stack Overflow or by Darth
Published on 2009-10-12T22:22:07Z Indexed on 2011/01/05 6:54 UTC
Read the original article Hit count: 209

Filed under:
|
|

I've got problem with connecting to MySQL database on my freshly installed Windows 7 machine. I'm getting this error when I try to migrate my database.

!!! 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!
193: %1 is not valid Win32 application - C:/Ruby/lib/ruby/gems/1.8/gems/mysql-2.8.1-x86-mswin32/lib/1.8/mysql_api.so

I currently have installed

ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
mysql version 5.0.86  for Win64
gem 1.3.1
mysql-2.8.1-x86-mswin32

© Stack Overflow or respective owner

Related posts about mysql

Related posts about ruby-on-rails