mysql2 gem为错误的mysql客户端库编译

当尝试通过我的rails应用程序连接到mysql服务器时,出现以下错误


D:/Program_Files/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 

Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.0.27. (RuntimeError)

我该如何纠正?


万千封印
浏览 520回答 3
3回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

MySQL