incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
来源:互联网 发布:推广淘宝 编辑:程序博客网 时间:2024/05/18 01:22
从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 目录下。
重新执行刚才的命令即可。
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. 的解决办法”
- incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
- mysql2 rails Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client
- Note that the MySQL client library is not bundled anymore!
- cudnn报错Loaded runtime CuDNN library: 5005 (compatibility version 5000) but source was compiled with
- Make sure DBMS client is installed and this required library is available for dynamic loading
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0xb
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- Headers and client library minor version mismatch.
- Native Client (NaCl) is an open-source technology for running native compiled code in the browser
- Google APIs Client Library for Java V3
- JPush API client library for PHP
- Addendum to the Xv Client library documentation
- Native Client - Application - The nacl_io Library
- The request sent by the client was syntactically incorrect.
- The request sent by the client was syntactically incorrect.
- Can’t convert fixnum to string during rake db:create
- Activiti学习资料(组件,API,部署)
- C# tostring 格式化输出
- Java 静态语句块、语句块、构造函数执行顺序
- glViewport()函数和glOrtho()函数的理解
- incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
- servlet的MVC开发与Struts2开发小区别:
- [百度笔试题]一个简单的递归实现
- SQL Server 安装日志文件路径及日志组成解释
- 关于ob_start()
- 记某逊的Online Test
- 多进程浏览器开发mark
- 江西宜春三名公务员擅自驾公车钓鱼被通报-公车钓鱼-公务员-公车
- C++与C#对比学习:函数(二)返回值,默认实参.this指针
Pingback: Windows下安装Redmine教程 | haohtml's blog
出处http://blog.haohtml.com/archives/13269