RMySQL
library(RMySQL) con <- dbConnect(RMySQL::MySQL(), username = "root", password = "123456", host = "127.0.0.1", port = 3306, dbname = "python" ) con <- DBI::dbConnect(odbc::odbc(), driver = "/opt/rstudio-drivers/mysql/bin/lib/libmysqlodbc_sb64.so", database = "python", UID ...