MySQL Forums
Forum List  »  Ruby

Invalid access to memory location
Posted by: Dick Monahan
Date: May 15, 2007 04:30PM

I just installed MySql. When I try to require it from Ruby, I get the following crash:

irb(main):001:0> require 'mysql'
LoadError: 998: Invalid access to memory location. - c:/Program Files/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext/mysql.so
from c:/Program Files/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext/mysql.so
from c:/Program Files/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
from (irb):1
irb(main):002:0>

Here's the response from mysql -v:
Server version: 5.0.41-community-nt MySQL Community Edition (GPL)

Options: ReplyQuote


Subject
Written By
Posted
Invalid access to memory location
May 15, 2007 04:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.