incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.5.20. 的解决办法

从mysql官方http://dev.mysql.com/downloads/mysql下载 mysql-connector-c-noinstall-6.0.2-win32 解压到e:/。注意根据自己的实际情况下载相对应的版本,这里使用非安装版。

or Ruby 1.9.2:

gem install mysql --platform=ruby -- --with-mysql-dir=e:/mysql-connector-c-noinstall-6.0.2-win32

for Ruby 1.9.3: (showing mysql2 variant)

gem pristine mysql2 -- --with-mysql-config=e:\mysql-connector-c-noinstall-6.0.2-win32 

这里我用64位的win7系统.

然后将 E:\mysql-connector-c-noinstall-6.0.2-win32\lib 目录下的 libmysql.lib 文件复制到 E:\RailsInstaller\Ruby1.9.3\bin 目录下。

重新执行刚才的命令即可。

37 thoughts on “incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.5.20. 的解决办法

  1. Pingback: Windows下安装Redmine教程 | haohtml's blog

  2. Pingback: Cleaning service in Sussex County Delaware

  3. Pingback: huong dan dang ky 188bet

  4. Pingback: w888

  5. Pingback: w88top

  6. Pingback: Surfwearhawaii

  7. Pingback: MyWeb

  8. Pingback: blog

  9. Pingback: ebenin amini türkce izle

  10. Pingback: sex

  11. Pingback: pasar qq

  12. Pingback: Eddie Frenay

  13. Pingback: vào w88

  14. Pingback: google expert

  15. Pingback: replica breitling watch winders

  16. Pingback: 바카라사이트

  17. Pingback: Replica

  18. Pingback: Alexandra

  19. Pingback: บริษัท ทิป ท็อป เอ็นจิเนียริ่ง จำกัด

  20. Pingback: Winnipeg furnace Shorty's Plumbing & Heating Inc; Winnipeg HVAC Shorty's Plumbing & Heating Inc

  21. Pingback: https://library.kiu.ac.ug/

  22. Pingback: porn

  23. Pingback: https://zazyle.pl/

  24. Pingback: Phim 18 Han Quoc

  25. Pingback: dominoqq

  26. Pingback: child porn

  27. Pingback: Stiiizy

  28. Pingback: poker online

  29. Pingback: CISSP QUESTION│CISSP QUESTIONS│CISSP PRACTICE QUESTIONS

  30. Pingback: togel hongkong

  31. Pingback: Jelle Hoffenaar

  32. Pingback: axiolabs injectables steroids

  33. Pingback: Ielts general reading practice test

  34. Pingback: http://144.91.94.11/

  35. Pingback: social media marketing agency Hong Kong

  36. Pingback: best price for generic viagra

  37. Pingback: viagra without a rx

Comments are closed.