Mysql and mysql2 gem

Can someone please tell me what the difference is ?

Thanks, RVc

In very simple terms, they both do the same things, but the latter is
newer and better and faster, and compatible with newer versions of Ruby
(and Rails). I think maybe there may be versions of MySQL that are too
new for the mysql gem, too, but that’s just a guess. Unless you are
using Rails 2 under Ruby 1.8.6, I doubt very much that you will need the
mysql gem these days, in favor of mysql2.

Walter

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs