ruby - Latest versions of mysql2 and mysql gems requires mysql 6.0. How to use it with 5.x? -


this question has answer here:

i've got clean install of ruby+gems+devkit+rails. i've installed both mysql , mysql2. when i'm trying start development server i've got error:

c:/ruby/ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysql2.rb:2:in `require': incorrect mysql client library version! gem compiled 6.0.0 client library 5.6.10. (runtimeerror) 

how can use 5.6.10 version of mysql?
i'm running on windows platform.

the difference between mysql2 , mysql gems not mysql server version.

mysql2 rewrite of mysql gem designed more modern set of bindings libmysql: proper support of ruby 1.9 encodings, better (and fast) typecasting , on.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -