Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Unable to connect to Mongodb from PENTAHO DI tool

  1. #1
    Join Date
    Oct 2015

    Default Unable to connect to Mongodb from PENTAHO DI tool

    Hi Friends,

    If you come across the below error message before, please help me if you have resolution. I am trying to connect to mongodb database from PENTAHO DI tool for creating transformation. I am trying to use mongodb input as source for this transformation and when testing the mongodb connection with the given details, I am getting below message, though I was passing the correct details in the connection. The same credentials I could use and connect from other tools (mongoChef, Mongo Management Studio etc.,)

    com.mongodb.CommandFailureException: { "serverUsed" : "" , "ok" : 0.0 , "code" : 18 , "errmsg" : "Authentication failed."}
    { "serverUsed" : "" , "ok" : 0.0 , "code" : 18 , "errmsg" : "Authentication failed."}

    at org.pentaho.mongo.wrapper.NoAuthMongoClientWrapper.getDatabaseNames(
    at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.setupDBNames(
    at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$300(
    at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$4.widgetSelected(
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(
    at org.pentaho.di.ui.spoon.Spoon.editStep(
    at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(

  2. #2
    Join Date
    Oct 2015


    Hi there,

    I have the same issue with Mongo DB 3.0. I assume there is a problem with the SCRAM-SHA-1 authentication mechanism. But I am not sure.


  3. #3
    Join Date
    Oct 2015


    I have same issue and couldn't find any workaround yet. Pentaho DI 6.0.1 (current latest version as of January 2016) is only certified Mongodb 2.6 which is very old old version in NOSQL world...

  4. #4


    I have the same issue with mongodb. Did you find any resolution for this issue?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.