警告消息-ODBC连接失败

时间:2019-09-09 15:57:45

标签: r odbc rstudio rodbc

我最近迁移到Win 10,当我尝试通过Rstudio运行它时,我去年使用的代码不再起作用

我已经完成所有设置,以确保它们与我的旧计算机相同,并且我不确定如何对它进行故障排除。在我的工作中,没有人会非常Rstudio / Rsavvy

dbhandle<- odbcDriverConnect('driver={SQL Server};server=CMS;database=Mortgage;trusted_connection=true')

运行代码时,会弹出以下消息:

Warning messages:
1: In odbcDriverConnect("driver={SQL Server};server=CMSphinx;database=MortgageData;trusted_connection=true") :
  [RODBC] ERROR: state 08001, code 18, message [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
2: In odbcDriverConnect("driver={SQL Server};server=CMSphinx;database=MortgageData;trusted_connection=true") :
  [RODBC] ERROR: state 01000, code 817, message [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECDoClientHandshake()).
3: In odbcDriverConnect("driver={SQL Server};server=CMSphinx;database=MortgageData;trusted_connection=true") :
  ODBC connection failed

0 个答案:

没有答案