Skip to main content

Posts

Showing posts with the label MySQL

RMySQL troubleshooting in Ubuntu

RMySQL package installation is no longer as easy as it used to be with the previous versions. The simple install.packages("RMySQL") no longer works like a magic!  If you try this command on your latest R version, you are likely to get the following errors: Configuration error: "could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL." I have found the solution to this problem. You can also try this and see if your problem is being solved. Some simple steps are: Get mysql-connector-c-6.0.2-linux-glibc2.3-x86-64bit from this link here Un-tar the contents in your downloaded folder. There you will get two folders- 'library' and 'include'.   on your /usr/local/include folder you will need to copy the contents of the 'library' and 'include' folder (copy the contents in the 'include' and 'library...