MySQL

    RMariaDB is a database interface and MariaDB driver for R. This version is aimed at full compliance with the DBI specification, as a replacement for the old RMySQL package. For more information, visit RMariaDB’s official site: rmariadb.r-dbi.org

    To install from CRAN:

    install.packages("RMariaDB")
    The development version from github:

    To install the development version:

    # install.packages("remotes")
    remotes::install_github("r-dbi/DBI")
    remotes::install_github("r-dbi/RMariaDB")

    To connect:

    library(DBI)
    # Connect to my-db as defined in ~/.my.cnf
    con <- dbConnect(RMariaDB::MariaDB(), group = "my-db")