Mysql2 was developed at GitHub for simplifying the way Ruby developers work with MySQL.
With Mysql2, it is extremely easy to connect to a database, run MySQL queries and return results in a readable format.
Comes with packaged support for ActiveRecord and Rails.
· Ruby 1.8.7 or higher
What's New in This Release: [ read full changelog ]
· Bugfix to avoid race condition with active connections that error out.
· Revert back to using xmalloc/xfree for allocations.
· Avoid potentially unsafe Ruby C API usage w/o GVL.
· Reacquire GVL before retrying on EINTR on connect.