Getting Error while connecting Mongo


#1

Hello,
I m trying to connect Mongo DB from Metabase , by passing below credentials
But i m getting the error like “com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName=‘metabaseuser’, source=‘django_log_db’, password=, mechanismProperties={}}

Please help me on this


#2

Hi @sushant.naik
Is that the only error you see in the Metabase logs?
What do you see in the Mongo logs?


#3

Hi @flamber ,
Thanks for the reply. I am able to connect the MongoDB now , i just forgot to pass the value for “Authentication Database:” . After passing the Auth Db name i am able to connect to the database .