Project

General

Profile

Failed on Redmine installation in a sub-URI on Windows with Apache

Added by David Souche over 11 years ago

I strictly followed the installation procedure as described on page
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache,
but during the "Install Redmine" step at phase 6. I always have this error message after executing "*rake db:migrate*" :

C:\Webserver\Redmine>rake db:migrate
(in C:/Webserver/Redmine)
rake aborted!
Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the
client library is 5.1.66.

And now i don't really know how to fix this problem , then if anyone can give me hint It will be nice


Replies (2)

RE: Failed on Redmine installation in a sub-URI on Windows with Apache - Added by Ivan Cenov over 11 years ago

It seems you have a problem with incorrect version of libmysql.dll. You may want to try with libmysql.dll 6.0.2.
http://dev.mysql.com/downloads/connector/c/
Download appropriate ZIP archive and extract libmysql.dll from it and replace the original. It is a good idea to put this dll into ruby's bin directory.

Also, see what mysql adapter you use. mysql or mysql2 ? May be you have to use latter one...

RE: Failed on Redmine installation in a sub-URI on Windows with Apache - Added by David Souche over 11 years ago

Ivan,
I followed your recommendation , downloaded the latest connector and I managed to finished the installation.
It all works now.
Many thanks for your efficient help

    (1-2/2)