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 ?

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%)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

  You've installed the binary version of mysql.
  It was built using MySQL Connector/C version 6.0.2.
  It's recommended to use the exact same version to avoid potential issues.

  At the time of building this gem, the necessary DLL files where available
  in the following URL:

  http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstal=
l-6.0.2-win32.zip/from/pick

  You can put the lib\libmysql.dll available in this package to your
Ruby bin directory.
  E.g. C:\Ruby\bin

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

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/

If that is the case, then the --platform=3Druby from these instructions
is no longer required, as the newer gem already uses the updated
connector.

Cheers,
--=20
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=E9ry