You may need to generate LIBMYSQLCLIENT.A from Libmysql.dll before: source
CD C:\xampp-1.8.3\mysql\lib
C:\DevKit-tdm-32-4.5.2-20111229-1559-sfx\devkitvars.bat
Pexports.exe Libmysql.dll > Libmysql.def
Source: C:\strawberry\c\bin\pexports. EXE Fortunately installed Perl, or do not know where to find this pexports tool under the
Dlltool--input-def libmysql.def--dllname libmysql.dll--output-lib libmysqlclient.a-k
C:\redmine-2.6.0>gem install MYSQL2--version=0.3.16--platform=ruby----with-mysql-include=c:\xampp-1.8.3\mysql \include--with-mysql-lib=c:\xampp-1.8.3\mysql\Lib
Building native extensions. This could take a while ...
Successfully installed mysql2-0.3.16
1 Gem installed
Installing RI documentation for mysql2-0.3.16 ...
Installing RDOC documentation for mysql2-0.3.16 ...
CD c:\redmine-2.6.0
Bundle Install
Ruby-1.9.3 Gem MYSQL2 successfully installed on Windows