luislavena / mysql-gem

MySQL/Ruby Bindings, wrapped as Gem with improved cross-platform support
http://rubyforge.org/projects/mysql-win
Other
53 stars 20 forks source link

bad handshake #16

Closed vschiavoni closed 11 years ago

vschiavoni commented 11 years ago

This is documented here, but it seems to be a bug from the mysql-gem:

https://github.com/rubygems/rubygems/issues/423

luislavena commented 11 years ago

@vschiavoni are you having this issue?

Becasue real_connect is implemented in C in mysql gem, not Ruby.

I'm not sure this is really mysql gem and not an obsolete embedded version of the mysql connector.

If you're suffering from this, please provide more information like:

Thank you

vschiavoni commented 11 years ago

mmm I think i was confused by the stacktrace. Apparently the culprit file belongs to another gem, as the file that I had to patch is: activerecord-2.1.0/lib/active_record/vendor/mysql.rb . Sorry for the noise.