# \[ANN\] mysql 2.9.0 Released

**URL:** <https://rubytalk.org/t/ann-mysql-2-9-0-released/66708>\
**Category:** ruby-talk\
**Created:** [17 November 2012 20:37 UTC](https://rubytalk.org/t/ann-mysql-2-9-0-released/66708 "2012-11-17T20:37:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Lavena1](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Luis\_Lavena1](https://rubytalk.org/u/Luis_Lavena1)\
**Post date:** [17 November 2012 20:37 UTC](https://rubytalk.org/t/ann-mysql-2-9-0-released/66708/1 "2012-11-17T20:37:36Z")

</div>

mysql version 2.9.0 has been released!

\* \<[http://github.com/luislavena/mysql-gem](http://github.com/luislavena/mysql-gem)\>

This is the MySQL API module for Ruby. It provides the same functions for Ruby  
programs that the MySQL C API provides for C programs.

This package is offered as gem for easy installation using RubyGems. It wraps  
unmodified tmtm's mysql-ruby extension into a proper gem.

Please note that tmtm (Tomita Mashahiro) has deprecated development of this  
extension and only update it for bug fixes.

Changes:

### 2.9.0 / 2012-11-17

DEPRECATION: Ruby 1.8.6 is no longer supported. Do not update your production  
application blindly without testing first any dependency change!

\* Incompatibility:  
&nbsp;&nbsp;\* Requires Ruby 1.8.7 or newer.

\* Enhancements:  
&nbsp;&nbsp;\* Detect MySQL version at load time and fail on mismatch [ghazel]  
&nbsp;&nbsp;\* Use MySQL Connector/C for Windows binary bindings instead

\* Bug fixes:  
&nbsp;&nbsp;\* Use RbConfig since Config is deprecated in Ruby 2.0 [tenderlove]

> **···**
>
> --  
> Luis Lavena  
> AREA 17  
> -  
> Perfection in design is achieved not when there is nothing more to add,  
> but rather when there is nothing more to take away.  
> Antoine de Saint-Exupéry

---

<div class="post-metadata">

**Author:** ![Luis\_Lavena1](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Luis\_Lavena1](https://rubytalk.org/u/Luis_Lavena1)\
**Post date:** [18 November 2012 11:49 UTC](https://rubytalk.org/t/ann-mysql-2-9-0-released/66708/2 "2012-11-18T11:49:51Z")

</div>

Yes.

The pre-compiled binary (x86-mingw32 gem) has been built against MySQL  
Connector/C, as shown by the installation message:

C:\Users\Luis\>gem install mysql  
Fetching: mysql-2.9.0-x86-mingw32.gem (100%)

> **···**
>
> On Sun, Nov 18, 2012 at 5:00 AM, Badal \<michel@demazure.com\> wrote:
> 
> > Does it work out of the box for mysql 64 bits on Windows ?
> 
> ======================================================================================================
> 
> &nbsp;&nbsp;You've installed the binary version of mysql.  
> &nbsp;&nbsp;It was built using MySQL Connector/C version 6.0.2.  
> &nbsp;&nbsp;It's recommended to use the exact same version to avoid potential issues.
> 
> &nbsp;&nbsp;At the time of building this gem, the necessary DLL files where available  
> &nbsp;&nbsp;in the following URL:
> 
> &nbsp;&nbsp;[http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick](http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick)
> 
> &nbsp;&nbsp;You can put the lib\libmysql.dll available in this package to your  
> Ruby bin directory.  
> &nbsp;&nbsp;E.g. C:\Ruby\bin
> 
> ======================================================================================================
> 
> Successfully installed mysql-2.9.0-x86-mingw32  
> 1 gem installed
> 
> You need to follow the link shown in the instructions, download the  
> zip file and extract libmysql.dll from there.
> 
> > I had to compile some older version against a special connector...
> 
> I believe you're talking from the instructions in my blog:
> 
> [http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/](http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/)
> 
> If that is the case, then the --platform=ruby from these instructions  
> is no longer required, as the newer gem already uses the updated  
> connector.
> 
> Cheers,  
> --  
> Luis Lavena  
> AREA 17  
> -  
> Perfection in design is achieved not when there is nothing more to add,  
> but rather when there is nothing more to take away.  
> Antoine de Saint-Exupéry
