mysql - Creating JDBC driver in R using RJDBC -
i trying create jdbc driver in r using following code: have set directory location .jar folder located
drv <- jdbc("com.mysql.jdbc.driver", "mysql-connector-java-3.1.14-bin-g.jar", identifier.quote="`")
i following error:
error in .jfindclass(as.character(driverclass)[1]) : class not found
what problem?
the following works me i.e. not "class not found" error. downloaded mysql-connector-java-5.1.38-bin.jar current working directory , ran below without issues
library(rjdbc) drv <- jdbc(driverclass="com.mysql.jdbc.driver", classpath="mysql-connector-java-5.1.38-bin.jar", identifier.quote="`")
Comments
Post a Comment