在用R连接mysql时遇到问题

时间:2020-04-06 04:08:47

标签: mysql r

我是R编程的新手。
我已经安装了RMySQL软件包,但是在建立连接时遇到了问题。

library(MySQL)
    connect=dbConnect(MySQL(),user='root',password='pass',dbname='lab1',host="localhost",port=3306)
    dbListTables(connect)

.local(drv, ...)中的错误:

无法连接到数据库:错误:无法加载插件caching_sha2_password:找不到指定的模块。

0 个答案:

没有答案