【发布时间】:2013-06-21 13:14:33
【问题描述】:
这是我第一次连接到 Vertica。我已经使用 RODBC 库成功连接到 MySQL 数据库。
我在 vertica 中设置了数据库,并从 https://my.vertica.com/download-community-edition/ 安装了 windows 64 位 ODBC 驱动程序
当我尝试使用 R 连接到 vertica 时,出现以下错误:
channel = odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password")
Warning messages:
1: In odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password") :
[RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
2: In odbcDriverConnect(connection = "Server=myserver.edu;Database=mydb;User=mydb;Password=password") :
ODBC connection failed
谁能告诉我如何解决这个问题?或者有没有其他方法可以使用 R 连接到 vertica?
【问题讨论】: