mysql and mysql2 gem

63 views
Skip to first unread message

RVic

unread,
Oct 27, 2013, 8:20:30 PM10/27/13
to rubyonra...@googlegroups.com
Can someone please tell me what the difference is ?

Thanks, RVc

Walter Lee Davis

unread,
Oct 27, 2013, 8:35:42 PM10/27/13
to rubyonra...@googlegroups.com
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

On Oct 27, 2013, at 8:20 PM, RVic wrote:

> Can someone please tell me what the difference is ?
>
> Thanks, RVc
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5c5d0e3d-f6f9-4156-87db-ec321c21696d%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages