New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbConnect() not working with the 1.1.1 CRAN update #78
Comments
The Access driver does not seem to provide full support for SQLGetInfo. It is hard to know for sure what the cause is without an access database to test against (and the unhelpful error message), but I took a guess. Could you try installing the access branch and see if that fixes your issue? devtools::install_github("rstats-db/odbc@access") |
Sure enough, I got a warning message, but a successful connection with that branch. library(DBI)
cn <- dbConnect(odbc::odbc(), dsn = "access-odbc")
#Warning in value[[3L]](cond) :
# Could not notify connection observer. nanodbc/nanodbc.cpp:4274: HYC00: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented I was then able to use I've run into other issues along the way ( Thanks for the help. Anything else you want me to test with this one? |
Workaround for drivers which do not implement SQLGetInfo, such as the Access driver. Fixes #78
From that warning is seems like the Access driver does not support listing tables, which is going to make many things not function as expected. But if you are willing to soldier on I will try to fix issues if possible. |
Issue Description and Expected Result
dbConnect()
not working anymore with the 1.1.1 CRAN update. Incomprehensible error. Potentially an error in the package install process.Database
Microsoft Access Version 14.0.
I don't know if Access is fully supported yet (from what I can tell, no), but the connection worked yesterday before the CRAN update, and I was able to pull data using
dbGetQuery()
.To prove that the information is correct, here is a working connection to RODBC.
Connection from RODBC
Other details
I am on a Windows computer running Windows 7 Professional.
Reproducible Example
Errors given on installation from CRAN
Session info
Session Info
Comments
Not even sure how to go about solving this one. Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: