缺少mysql.h并尝试查找mysql-devel [英] Missing mysql.h and trying to find mysql-devel

查看:304
本文介绍了缺少mysql.h并尝试查找mysql-devel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(我已经解决了与我有关的四个或五个问题,但是我遇到的这个症结似乎并未在其中解决.)

(I've been through four or five questions that are related to mine, but this sticking point I run into doesn't seem to be addressed in them.)

在尝试在Windows计算机上的RStudio上运行RMySQL时,我一直在尝试遵循此处提供的帮助:如何将R与MySQL连接或如何安装RMySQL软件包? com/questions/5223113/using-mysql-in-r-for-windows>在R for Windows中使用MySQL

In trying to run RMySQL on RStudio on a windows machine, I've been trying to follow the help given here: How to Connect R with MySQL or how to install RMySQL package? and here: Using MySQL in R for Windows

我能够完成第1、3、4、5步,但没有完成第2步.

I was able to complete steps 1,3,4,5 but not #2.

我尝试搜索缺少的头文件 mysql.h 本身,但是我发现的所有内容都针对不同的平台,否则指向

I've tried searching for the missing header mysql.h itself, but everything I find is for a different platform, or else points toward http://dev.mysql.com/downloads/mysql/#downloads , where I honestly cannot see any reference to the header at all.

我看到的另一个建议是安装mysql-devel,但同样,我为此找到的所有链接都没有任何作用.

Another suggestion I saw was to install mysql-devel, but again, all the links I found for this pointed to nothing that worked.

在此先感谢您的帮助:希望解决起来很简单!

Thanks in advance for your help: I hope it's simple to resolve!

推荐答案

获取 MySQL社区服务器并将其安装在您的系统上.它包含一个名为include的目录,您可以在其中找到mysql.h.您还可以下载该应用程序的ZIP文件版本,并使用它来获取标头,而无需在系统中安装任何内容.使用此程序包中的标头,我过去成功构建了RMySQL

Grab the MySQL Community Server and install it on your system. It contains a directory called include in which you find the mysql.h. You can also download the ZIP file version of the application and use it to obtain the header without installing anything to your system. Using the header from this package, I've successfully built RMySQL in the past.

这篇关于缺少mysql.h并尝试查找mysql-devel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆