You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was trying to connect to mongo db in three ways.
Its mongo version 3.0.4
using rmongodb - which fails with the error 'authentication failed'.
using RMongo - which also fails with the following error
Error in .jcall(rmongo.object@javaMongo, "Z", "dbAuthenticate", username, :
java.lang.NoSuchMethodError: com.mongodb.DB.authenticate(Ljava/lang/String;[C)Z
trying JDBC connection using jar files.
drv <- JDBC("com.mongodb.MongoClient",list.files("path:/",
pattern="jar$",full.names=T))
con<-dbConnect(drv,"jdbc:mongodb://host:port/dbname",user,pwd)
again this throws the following error:
Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], :
method connect with signature (Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection; not found
Can somebody help with the next step to follow.
The text was updated successfully, but these errors were encountered:
Hi,
I was trying to connect to mongo db in three ways.
Its mongo version 3.0.4
Error in .jcall(rmongo.object@javaMongo, "Z", "dbAuthenticate", username, :
java.lang.NoSuchMethodError: com.mongodb.DB.authenticate(Ljava/lang/String;[C)Z
drv <- JDBC("com.mongodb.MongoClient",list.files("path:/",
con<-dbConnect(drv,"jdbc:mongodb://host:port/dbname",user,pwd)
again this throws the following error:
Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], :
method connect with signature (Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection; not found
Can somebody help with the next step to follow.
The text was updated successfully, but these errors were encountered: