incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
2012-10-13 15:14
459 查看
从mysql官方http://dev.mysql.com/downloads/mysql下载 mysql-connector-c-noinstall-6.0.2-win32 解压到e:/。注意根据自己的实际情况下载相对应的版本,这里使用非安装版。
or Ruby 1.9.2:
for Ruby 1.9.3: (showing mysql2 variant)
这里我用64位的win7系统.
然后将 E:\mysql-connector-c-noinstall-6.0.2-win32\lib 目录下的 libmysql.lib 文件复制到 E:\RailsInstaller\Ruby1.9.3\bin 目录下。
重新执行刚才的命令即可。
This entry was posted in js框架 by admin.
Bookmark the permalink.
Pingback: Windows下安装Redmine教程
| haohtml's blog
出处http://blog.haohtml.com/archives/13269
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 目录下。
重新执行刚才的命令即可。
This entry was posted in js框架 by admin.
Bookmark the permalink.
ONE THOUGHT ON “INCORRECT MYSQL CLIENT LIBRARY VERSION! THIS GEM WAS COMPILED FOR 6.0.0 BUT THE CLIENT LIBRARY IS 5.5.20. 的解决办法”
Pingback: Windows下安装Redmine教程| haohtml's blog
出处http://blog.haohtml.com/archives/13269
相关文章推荐
- 解决方案: the selected file is a solution file but was created by a newer version of this application and cannot be opened
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- mysql2 rails Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client
- Mysql load 出现 The used command is not allowed with this MySQL version
- This version of the rendering library is more recent than your version of ADT plug in. Please update
- Agile PLM --- JAX-WS 2.2 API is required, but an older version was found in the JDK
- Android开发之Version 1.6.0_65 of the JVM is not suitable for this product, 1.8 or greater is required.
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please updat
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- eclipse打开一直显示Version 1.6.0_34 of the JVM is not suitable for this product
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in问题
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- The PDO extension is required for this adapter but the extension is not loaded 错误解决方案
- [转载]This version of the rendering library is more recent than your version of ADT plug in. Please up
- eclipse 报错Version 1.6.0_45 of the JVM is not suitable for this product. Version:1.7 or greater is required
- The major.minor version '49.0' is too recent for this tool to understand.
- Version 1.6.0_65 of the JVM is not suitable for this product