Problem with connection in ODBC MongoDB

Discussion of open issues, suggestions and bugs regarding usage of ODBC Drivers
Post Reply
Nanolo
Posts: 2
Joined: Thu 03 Nov 2016 14:59

Problem with connection in ODBC MongoDB

Post by Nanolo » Mon 22 Nov 2021 11:43

Hi,
I am trying "ODBC Driver for MongoDB".
My db is on "MongoDB Atlas" and it fails to connect to it.

I am trying the parameters I use on "Robo3T" to connect regularly.
It uses:
Auth mechanism: SCRAM-SHA-1
Authentication method: Self signed certificate
but I don't find where to specify them.
Do you have any information for db on "MongoDB Atlas"?

Thank you very much

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Problem with connection in ODBC MongoDB

Post by ViktorV » Thu 25 Nov 2021 09:02

To accomplish your task, please try to set the option authMechanism to SCRAM-SHA-1 in the "Connection options" field in the "Advanced settings" tab of the configuration dialog box in ODBC Driver for MongoDB. For example, authMechanism=SCRAM-SHA-1.

vanmohr
Posts: 1
Joined: Tue 08 Feb 2022 02:46

Re: Problem with connection in ODBC MongoDB

Post by vanmohr » Tue 08 Feb 2022 02:49

ViktorV wrote: Thu 25 Nov 2021 09:02 To accomplish your task, please try to set the option authMechanism to SCRAM-SHA-1 in the "Connection options" field in the "Advanced settings" tab of the configuration dialog box in ODBC Driver for MongoDB. For example, authMechanism=SCRAM-SHA-1.
I will do so

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Problem with connection in ODBC MongoDB

Post by Stellar » Thu 10 Mar 2022 12:18

Hi,

When you get any results concerning this question, please let us know.

Best regards,
Sergey

Post Reply