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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -