I have a component 'tMongoDBConnection" with the following parameters:
Server "127.0.0.1" Database "test" Port 30158
The problem is that I need authentication. Talend raises this error: The method authenticate(String, char) in the type DB is not applicable for the arguments (String, String).
The parameters are:
Username: "test" Password: "test"
What I could do? Thanks.
I'm trying to connect to MongoDB with the component tMongoDBConnection. The problem is that I need authentication because I have username and password on DB, but it says the following:
Detail Message: The method authenticate(String, char) in the type DB is not applicable for the arguments (String, String)
The parameters are the following:
Server: "192.168.56.101" Database: "test" Port: 30158 Username: "test" Password: "test"
If I try to connect without authentication the following error is raised:
Caused by: java.io.IOException: couldn't connect to [/192.168.56.101:30158] bc:java.net.ConnectException: Connection refused: connect
I don't know how to connect to the mongoDB, can anyone help me?