Lynob
Lynob

Reputation: 5337

wampp or xampp: how to upgrade to mysql 6?

I'm on windows xp pro, I've been told to use mysql2 gem in my ruby on rails app. mysql 2 gm wont work unless you have mysql 6 installed. wamp and xampp do not have mysql 6 included in their latest versions! so how to install mysql 6...I'm using xampp and I do not want to install mysql then apache then php then phpmyadmin, i want to use something that has the whole package like wamp or xampp so I'm wondering if you know how to upgrade to mysql 6

and one more thing, is mysql 6 widely supported? i want to try my app on some shared hosting so i don't want to install mysql2 for development and mysql in production just because the hosting providers doesn't support mysql 6

When i run rake db:create i see:

rake aborted! incorrect mysql client library version! this gem was compiled for 6.0.0 but the client library is 5.5.12

Upvotes: 0

Views: 736

Answers (2)

Lynob
Lynob

Reputation: 5337

i have solved this error by downloading [the zipped version of mysql Connector/C 6.0.2 for 32 bit][4] and copying libmysql.dll from mysql-connector-c-noinstall-6.0.2-win32-vs2005\lib

to C:\RailsInstaller\Ruby1.9.2\bin

Upvotes: 1

bernabas
bernabas

Reputation: 481

mysql 5.5.20 is the latest stable version...i use 5.5.0 and 5.1 and mysql2 works fine

Upvotes: 0

Related Questions