This post is describe how fixed the problem:

!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
C:/ruby/ruby-1.8.6/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/ 998: Invalid access to memory location. – C:/ruby/ruby-1.8.6/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin3
2/ext/ (LoadError)

That is the mysql bug.

Simple Solutions:

  1. Download the from
  2. Unzip
  3. Copy paste libmysql.dll to “path_of_mysql/bin” Example: C:/xampp/mysql/bin
  4. Copy paste libmysql.dll to “path_of_ruby/bin” Example : C/ruby/bin



Comments on: "How to fixed Problem on rails 2.2.2 and mysql 5.0.41" (3)

  1. Thanks, this solution helped. Nice that your page was first on google when googling for error message and “xampp”.

  2. t u t u t said:

    nice to see your page . .
    it’s easy to fix the problem with your solution,,
    thanks a lot for ur help feby . .

  3. Thanks so much. Your solution worked great.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Tag Cloud

%d bloggers like this: