Trying to connect to MySQL from r:
library(RMySQL)
mydb<-dbConnect(MySQL(), user='root', password='123', dbname='mydb', host='localhost')
Getting the following error:
Error in .local(drv, ...) : Failed to connect to database:
Error: Can't initialize character set unknown (path: compiled_in)
Using
R ver is 3.3.3
MySQL is '8.0.12'
default_character_set_name in MySQL is utf8mb4