How to install RMySQL package into R

If you want work with MySQL Database in R, you have to install RMySQL package.

There is very simple guide how you can install it.

RStudio                  mysql


  1. Open terminal and install dependencies first
    sudo apt-get install libdbd-mysql libmysqlclient-dev
  2. Run R or RStudio and install RMySQL package


Done, you can connect your R project with MySQL DB now.


Leave a Reply

Your email address will not be published. Required fields are marked *